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

  2. maybeToExceptT :: forall (m :: Type -> Type) e a . Functor m => e -> MaybeT m a -> ExceptT e m a

    rebase Rebase.Prelude

    Convert a MaybeT computation to ExceptT, with a default exception value.

  3. maybeToLeft :: b -> Maybe a -> Either a b

    rebase Rebase.Prelude

    Maybe produce a Left, otherwise produce a Right.

    >>> maybeToLeft "default" (Just 12)
    Left 12
    
    >>> maybeToLeft "default" Nothing
    Right "default"
    

  4. maybeToRight :: b -> Maybe a -> Either b a

    rebase Rebase.Prelude

    Maybe produce a Right, otherwise produce a Left.

    >>> maybeToRight "default" (Just 12)
    Right 12
    
    >>> maybeToRight "default" Nothing
    Left "default"
    

  5. maybeAccumulateRangeFromPyramid :: Transform sig v => (v -> v -> v) -> [sig v] -> (Int, Int) -> Maybe v

    synthesizer-core Synthesizer.Generic.Filter.NonRecursive

    No documentation available.

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

    Chart Graphics.Rendering.Chart.Utils

    Version of maybe that returns a monadic value.

  7. maybeToExceptS :: forall (m :: Type -> Type) a b . (Functor m, Monad m) => Automaton (MaybeT m) a b -> Automaton (ExceptT () m) a b

    automaton Data.Automaton.Trans.Except

    Converts an Automaton in MaybeT to an Automaton in ExceptT. Whenever Nothing is thrown, throw () instead.

  8. maybeExit :: forall (m :: Type -> Type) a . Monad m => Automaton (MaybeT m) (Maybe a) a

    automaton Data.Automaton.Trans.Maybe

    Just a is passed along, Nothing causes the whole Automaton to exit.

  9. maybeToExceptS :: forall (m :: Type -> Type) a b . (Functor m, Monad m) => Automaton (MaybeT m) a b -> Automaton (ExceptT () m) a b

    automaton Data.Automaton.Trans.Maybe

    Converts an Automaton in MaybeT to an Automaton in ExceptT. Whenever Nothing is thrown, throw () instead.

  10. maybeToExceptT :: forall (m :: Type -> Type) e a . Functor m => e -> MaybeT m a -> ExceptT e m a

    automaton Data.Automaton.Trans.Maybe

    Convert a MaybeT computation to ExceptT, with a default exception value.

Page 35 of many | Previous | Next