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.
maybeWidth :: PersistableRecordWidth a -> PersistableRecordWidth (Maybe a)persistable-record Database.Record.Persistable Derivation rule of PersistableRecordWidth from from Haskell type a into for Haskell type Maybe a.
maybeToExceptT :: forall (m :: Type -> Type) e a . Functor m => e -> MaybeT m a -> ExceptT e m arebase Rebase.Prelude Convert a MaybeT computation to ExceptT, with a default exception value.
maybeToLeft :: b -> Maybe a -> Either a brebase Rebase.Prelude Maybe produce a Left, otherwise produce a Right.
>>> maybeToLeft "default" (Just 12) Left 12
>>> maybeToLeft "default" Nothing Right "default"
maybeToRight :: b -> Maybe a -> Either b arebase Rebase.Prelude Maybe produce a Right, otherwise produce a Left.
>>> maybeToRight "default" (Just 12) Right 12
>>> maybeToRight "default" Nothing Left "default"
-
synthesizer-core Synthesizer.Generic.Filter.NonRecursive No documentation available.
maybeM :: Monad m => b -> (a -> m b) -> Maybe a -> m bChart Graphics.Rendering.Chart.Utils Version of maybe that returns a monadic value.
-
automaton Data.Automaton.Trans.Except Converts an Automaton in MaybeT to an Automaton in ExceptT. Whenever Nothing is thrown, throw () instead.
maybeExit :: forall (m :: Type -> Type) a . Monad m => Automaton (MaybeT m) (Maybe a) aautomaton Data.Automaton.Trans.Maybe Just a is passed along, Nothing causes the whole Automaton to exit.
-
automaton Data.Automaton.Trans.Maybe Converts an Automaton in MaybeT to an Automaton in ExceptT. Whenever Nothing is thrown, throw () instead.
maybeToExceptT :: forall (m :: Type -> Type) e a . Functor m => e -> MaybeT m a -> ExceptT e m aautomaton Data.Automaton.Trans.Maybe Convert a MaybeT computation to ExceptT, with a default exception value.