Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
automaton Data.Automaton.Trans.Maybe Convert exceptions into Nothing, discarding the exception value.
exceptToMaybeT :: forall (m :: Type -> Type) e a . Functor m => ExceptT e m a -> MaybeT m aautomaton Data.Automaton.Trans.Maybe Convert a ExceptT computation to MaybeT, discarding the value of any exception.
hoistMaybe :: forall (m :: Type -> Type) b . Applicative m => Maybe b -> MaybeT m bautomaton Data.Automaton.Trans.Maybe inMaybeT :: forall (m :: Type -> Type) a . Monad m => Automaton (MaybeT m) (Maybe a) aautomaton Data.Automaton.Trans.Maybe Embed a Maybe value in the MaybeT layer. Identical to maybeExit.
-
automaton Data.Automaton.Trans.Maybe Converts a list to an Automaton in MaybeT, which outputs an element of the list at each step, throwing Nothing when the list ends.
mapMaybeT :: (m (Maybe a) -> n (Maybe b)) -> MaybeT m a -> MaybeT n bautomaton Data.Automaton.Trans.Maybe Transform the computation inside a MaybeT.
reactimateMaybe :: (Functor m, Monad m) => Automaton (MaybeT m) () () -> m ()automaton Data.Automaton.Trans.Maybe reactimates an Automaton in the MaybeT monad until it throws Nothing.
-
automaton Data.Automaton.Trans.Maybe Remove the MaybeT layer by outputting Nothing when the exception occurs. The current state is then tested again on the next input.
runMaybeT :: MaybeT (m :: Type -> Type) a -> m (Maybe a)automaton Data.Automaton.Trans.Maybe No documentation available.
-
automaton Data.Automaton.Trans.Maybe Run the first automaton until the second one produces True from the output of the first.