Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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

  1. maybeWithManagedPtr :: (HasCallStack, ManagedPtrNewtype a) => Maybe a -> (Ptr a -> IO c) -> IO c

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

    Like withManagedPtr, but accepts a Maybe type. If the passed value is Nothing the inner action will be executed with a nullPtr argument.

  2. maybeFromPtr :: Ptr a -> Maybe (Ptr a)

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

    Check if the pointer is nullPtr, and wrap it on a Maybe accordingly.

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

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

    Like maybe, but for actions on a monad, and with slightly different argument order.

  4. maybeReleaseFunPtr :: Maybe (Ptr (FunPtr a)) -> IO ()

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

    If given a pointer to the memory location, free the FunPtr at that location, and then the pointer itself. Useful for freeing the memory associated to callbacks which are called just once, with no destroy notification.

  5. mayBeNull :: Arg -> Bool

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

  6. maybeNullConvert :: Type -> CodeGen e (Maybe Text)

    haskell-gi Data.GI.CodeGen.Conversions

    If the passed in type is nullable, return the conversion function between the FFI pointer type (may be a Ptr or a FunPtr) and the corresponding Maybe type.

  7. maybeT :: TypeRep -> TypeRep

    haskell-gi Data.GI.CodeGen.Type

    Embed in the Maybe monad.

  8. mayBeNull :: Arg -> Bool

    haskell-gi Data.GI.GIR.Arg

    No documentation available.

  9. maybeAuthorized :: Yesod site => Route site -> Bool -> HandlerT site IO (Maybe (Route site))

    yesod-core Yesod.Core

    Return the same URL if the user is authorized to see it. Built on top of isAuthorized. This is useful for building page that only contain links to pages the user is allowed to see.

  10. maybeCryptoError :: CryptoFailable a -> Maybe a

    cryptonite Crypto.Error

    Transform a CryptoFailable to a Maybe

Page 36 of many | Previous | Next