Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
maybeHolds :: Property p v => p -> v -> Maybe vdata-checked Data.Checked maybeHolds :: Property p v => p -> v -> Maybe vdata-checked Data.Checked.Strict maybeM :: Monad m => m b -> (a -> m b) -> m (Maybe a) -> m bdistribution-opensuse OpenSuse.Prelude Monadic generalisation of maybe.
-
dunai Control.Monad.Trans.MSF.Except Converts an MSF in MaybeT to an MSF in ExceptT. Whenever Nothing is thrown, throw () instead.
maybeExit :: forall (m :: Type -> Type) a . Monad m => MSF (MaybeT m) (Maybe a) adunai Control.Monad.Trans.MSF.Maybe Just a is passed along, Nothing causes the whole MSF to exit.
-
dunai Control.Monad.Trans.MSF.Maybe Converts an MSF in MaybeT to an MSF in ExceptT. Whenever Nothing is thrown, throw () instead.
maybeToExceptT :: forall (m :: Type -> Type) e a . Functor m => e -> MaybeT m a -> ExceptT e m adunai Control.Monad.Trans.MSF.Maybe Convert a MaybeT computation to ExceptT, with a default exception value.
maybeModTime :: FilePath -> IO (Maybe UTCTime)dyre Config.Dyre.Paths Check if a file exists. If it exists, return Just the modification time. If it doesn't exist, return Nothing.
maybeEither :: Maybe a -> Either () aerrors-ext Control.Error.Extensions Converts Maybe to Either. Specialization of maybe.
maybeEither . eitherMaybe = id
maybeInjectExecutableHash :: FilePath -> IO ()executable-hash System.Executable.Hash.Internal Injects an executable hash into the specified binary. If it doesn't exist, then this prints a message to stdout indicating that it failed to inject the hash.