Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. onJust :: b -> Maybe a -> (a -> b) -> b

    ghc-lib-parser GHC.Utils.Misc

    onJust x m f applies f to the value inside the Just or returns the default.

  2. pattern KEY_BrightnessAdjust :: Word32

    gi-gdk4 GI.Gdk.Constants

    No description available in the introspection data.

  3. pattern KEY_ContrastAdjust :: Word32

    gi-gdk4 GI.Gdk.Constants

    No description available in the introspection data.

  4. catchGErrorJust :: GErrorClass err => err -> IO a -> (GErrorMessage -> IO a) -> IO a

    glib System.Glib.GError

    This will catch just a specific GError exception. If you need to catch a range of related errors, catchGErrorJustDomain is probably more appropriate. Example:

    do image <- catchGErrorJust PixbufErrorCorruptImage
    loadImage
    (\errorMessage -> do log errorMessage
    return missingImagePlaceholder)
    

  5. catchGErrorJustDomain :: GErrorClass err => IO a -> (err -> GErrorMessage -> IO a) -> IO a

    glib System.Glib.GError

    Catch all GErrors from a particular error domain. The handler function should just deal with one error enumeration type. If you need to catch errors from more than one error domain, use this function twice with an appropriate handler functions for each.

    catchGErrorJustDomain
    loadImage
    (\err message -> case err of
    PixbufErrorCorruptImage -> ...
    PixbufErrorInsufficientMemory -> ...
    PixbufErrorUnknownType -> ...
    _ -> ...)
    

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

    glib System.Glib.GError

    A version of handleGErrorJust with the arguments swapped around.

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

    glib System.Glib.GError

    A version of catchGErrorJustDomain with the arguments swapped around.

  8. pattern MaybeFin32Just# :: Fin32# n -> MaybeFin32# n

    natural-arithmetic Arithmetic.Types

    No documentation available.

  9. pattern MaybeFinJust# :: Fin# n -> MaybeFin# n

    natural-arithmetic Arithmetic.Types

    No documentation available.

  10. layoutGetJustify :: PangoLayout -> IO Bool

    pango Graphics.Rendering.Pango

    Retrieve the justification flag.

Page 58 of many | Previous | Next