Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

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

  1. pattern TYPE_RESERVED_USER_FIRST :: Int32

    gi-gobject GI.GObject.Constants

    First available fundamental type number to create new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL().

  2. SignalFlagsAccumulatorFirstRun :: SignalFlags

    gi-gobject GI.GObject.Flags

    Only used in SignalAccumulator accumulator functions for the SignalInvocationHint::run_type field to mark the first call to the accumulator function for a signal emission. Since 2.68.

  3. SignalFlagsRunFirst :: SignalFlags

    gi-gobject GI.GObject.Flags

    Invoke the object method handler in the first emission stage.

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

    gi-gobject GI.GObject.Functions

    Returns the first FlagsValue which is set in value.

  5. 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

  6. 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.

  7. 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]
    

  8. fromFirst :: a -> First a -> a

    rio RIO.Prelude

    Get a First value with a default fallback

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

    rio RIO.Time

    Returns the first Day in a period of days.

  10. 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
    

Page 43 of many | Previous | Next