Hoogle Search
Within LTS Haskell 24.9 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
pattern
TYPE_RESERVED_USER_FIRST :: Int32gi-gobject GI.GObject.Constants First available fundamental type number to create new fundamental type id with G_TYPE_MAKE_FUNDAMENTAL().
SignalFlagsAccumulatorFirstRun :: SignalFlagsgi-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.
SignalFlagsRunFirst :: SignalFlagsgi-gobject GI.GObject.Flags Invoke the object method handler in the first emission stage.
flagsGetFirstValue :: (HasCallStack, MonadIO m) => FlagsClass -> Word32 -> m (Maybe FlagsValue)gi-gobject GI.GObject.Functions Returns the first FlagsValue which is set in value.
-
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
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.
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]
fromFirst :: a -> First a -> ario RIO.Prelude Get a First value with a default fallback
periodFirstDay :: DayPeriod p => p -> Dayrio RIO.Time Returns the first Day in a period of days.
weekFirstDay :: DayOfWeek -> Day -> Dayrio 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