Hoogle Search

Within LTS Haskell 24.64 (ghc-9.10.3)

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

  1. handleGErrorJust :: GErrorClass err => err -> (GErrorMessage -> IO a) -> IO a -> IO a

    haskell-gi-base Data.GI.Base.GError

    A verson of handleGErrorJust with the arguments swapped around.

  2. handleGErrorJustDomain :: GErrorClass err => (err -> GErrorMessage -> IO a) -> IO a -> IO a

    haskell-gi-base Data.GI.Base.GError

    A verson of catchGErrorJustDomain with the arguments swapped around.

  3. whenJust :: Monad m => Maybe a -> (a -> m ()) -> m ()

    haskell-gi-base Data.GI.Base.Utils

    When the given value is of "Just a" form, execute the given action, otherwise do nothing.

  4. _Just :: Prism (Maybe a) (Maybe b) a b

    optics-core Data.Maybe.Optics

    A Prism that matches on the Just constructor of Maybe.

  5. timeZoneAdjustTime :: (HasCallStack, MonadIO m) => TimeZone -> TimeType -> Int64 -> m (Int32, Int64)

    gi-glib GI.GLib.Structs.TimeZone

    Finds an interval within tz that corresponds to the given time_, possibly adjusting time_ if required to fit into an interval. The meaning of time_ depends on type. This function is similar to timeZoneFindInterval, with the difference that it always succeeds (by making the adjustments described below). In any of the cases where timeZoneFindInterval succeeds then this function returns the same value, without modifying time_. This function may, however, modify time_ in order to deal with non-existent times. If the non-existent local time_ of 02:30 were requested on March 14th 2010 in Toronto then this function would adjust time_ to be 03:00 and return the interval containing the adjusted time. Since: 2.26

  6. typeClassAdjustPrivateOffset :: (HasCallStack, MonadIO m) => Ptr () -> Int32 -> m ()

    gi-gobject GI.GObject.Structs.TypeClass

    No description available in the introspection data.

  7. fromJust :: Maybe a -> a

    strict Data.Strict.Maybe

    Extracts the element out of a Just and throws an error if the argument is Nothing.

  8. isJust :: Maybe a -> Bool

    strict Data.Strict.Maybe

    Yields True iff the argument is of the form Just _.

  9. adjustMap :: IsMap map => (MapValue map -> MapValue map) -> ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Apply a function to the value of a given key. Returns the input map when the key-value pair does not exist.

  10. adjustWithKey :: IsMap map => (ContainerKey map -> MapValue map -> MapValue map) -> ContainerKey map -> map -> map

    mono-traversable Data.Containers

    Equivalent to adjustMap, but the function accepts the key, as well as the previous value.

Page 30 of many | Previous | Next