Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. SignalFlagsRunFirst :: SignalFlags

    gi-gobject GI.GObject.Flags

    Invoke the object method handler in the first emission stage.

  2. flagsGetFirstValue :: (HasCallStack, MonadIO m) => FlagsClass -> Word32 -> m (Maybe FlagsValue)

    gi-gobject GI.GObject.Functions

    Returns the first FlagsValue which is set in value.

  3. signalAccumulatorFirstWins :: (HasCallStack, MonadIO m) => SignalInvocationHint -> GValue -> GValue -> Ptr () -> m Bool

    gi-gobject GI.GObject.Functions

    A predefined SignalAccumulator for signals intended to be used as a hook for application code to provide a particular value. Usually only one such value is desired and multiple handlers for the same signal don't make much sense (except for the case of the default handler defined in the class structure, in which case you will usually want the signal connection to override the class handler). This accumulator will use the return value from the first signal handler that is run as the return value for the signal and not run any further handlers (ie: the first handler "wins"). Since: 2.28

  4. splitFirst :: IsSequence seq => NonNull seq -> (Element seq, seq)

    mono-traversable Data.NonNull

    Same as nuncons with no guarantee that the rest of the sequence is non-null.

  5. deleteFirstsBy :: (a -> a -> Bool) -> [a] -> [a] -> [a]

    rio RIO.List

    The deleteFirstsBy function takes a predicate and two lists and returns the first list with the first occurrence of each element of the second list removed. This is the non-overloaded version of (\\).

    (\\) == deleteFirstsBy (==)
    
    The second list must be finite, but the first may be infinite.

    Examples

    >>> deleteFirstsBy (>) [1..10] [3, 4, 5]
    [4,5,6,7,8,9,10]
    
    >>> deleteFirstsBy (/=) [1..10] [1, 3, 5]
    [4,5,6,7,8,9,10]
    

  6. fromFirst :: a -> First a -> a

    rio RIO.Prelude

    Get a First value with a default fallback

  7. periodFirstDay :: DayPeriod p => p -> Day

    rio RIO.Time

    Returns the first Day in a period of days.

  8. weekFirstDay :: DayOfWeek -> Day -> Day

    rio RIO.Time

    Returns the first day of a week containing the given Day. Examples:

    >>> weekFirstDay Sunday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 20
    
    >>> weekFirstDay Monday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 21
    
    >>> weekFirstDay Tuesday (YearMonthDay 2022 02 21)
    YearMonthDay 2022 2 15
    

  9. isFirst :: Cursor -> Bool

    xml Text.XML.Light.Cursor

    Are we at the left end of the the document?

  10. interleaveFirstPattern :: Storable a => [Vector a] -> Vector a

    storablevector Data.StorableVector.Lazy

    Interleave lazy vectors while maintaining the chunk pattern of the first vector. All input vectors must have the same length.

Page 43 of many | Previous | Next