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. maybeModifyIdInfo :: Maybe IdInfo -> Id -> Id

    ghc GHC.Types.Id

    No documentation available.

  2. maybeSubstNameShape :: NameShape -> Name -> Maybe Name

    ghc GHC.Types.Name.Shape

    Like substNameShape, but returns Nothing if no substitution works.

  3. maybeParens :: Bool -> Doc -> Doc

    ghc GHC.Utils.Ppr

    Apply parens to Doc if boolean is true.

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

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

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

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

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

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

  10. mayBeNull :: Arg -> Bool

    haskell-gi Data.GI.CodeGen.API

    No documentation available.

Page 36 of many | Previous | Next