Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. maybeParens :: Bool -> Doc -> Doc

    ghc GHC.Utils.Ppr

    Apply parens to Doc if boolean is true.

  2. maybeP :: forall (m :: Type -> Type) a' a b' b r . Monad m => Proxy a' a b' b m (Maybe r) -> Proxy a' a b' b (MaybeT m) r

    pipes Pipes.Lift

    Wrap the base monad in MaybeT

  3. maybePokeGError :: Ptr (Ptr GError) -> Maybe GError -> IO ()

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

    If the passed in Maybe GError is not Nothing, store a copy in the passed in pointer, unless the pointer is nullPtr.

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

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

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

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

  8. mayBeNull :: Arg -> Bool

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

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

  10. maybeT :: TypeRep -> TypeRep

    haskell-gi Data.GI.CodeGen.Type

    Embed in the Maybe monad.

Page 21 of many | Previous | Next