Hoogle Search
Within LTS Haskell 24.36 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapMaybeT :: (m (Maybe a) -> n (Maybe b)) -> MaybeT m a -> MaybeT n berrors Control.Error Transform the computation inside a MaybeT.
runMaybeT :: MaybeT (m :: Type -> Type) a -> m (Maybe a)errors Control.Error No documentation available.
hoistMaybe :: forall (m :: Type -> Type) b . Monad m => Maybe b -> MaybeT m berrors Control.Error.Util spanMaybe :: FactorialMonoid m => s -> (s -> m -> Maybe s) -> m -> (m, m, s)monoid-subclasses Data.Monoid.Factorial A stateful variant of span, threading the result of the test function as long as it returns Just.
spanMaybe' :: FactorialMonoid m => s -> (s -> m -> Maybe s) -> m -> (m, m, s)monoid-subclasses Data.Monoid.Factorial Strict version of spanMaybe.
spanMaybe :: TextualMonoid t => s -> (s -> t -> Maybe s) -> (s -> Char -> Maybe s) -> t -> (t, t, s)monoid-subclasses Data.Monoid.Textual A stateful variant of span, threading the result of the test function as long as it returns Just.
-
monoid-subclasses Data.Monoid.Textual Strict version of spanMaybe.
spanMaybe_ :: TextualMonoid t => s -> (s -> Char -> Maybe s) -> t -> (t, t, s)monoid-subclasses Data.Monoid.Textual spanMaybe_ s = spanMaybe s (const . Just)
spanMaybe_' :: TextualMonoid t => s -> (s -> Char -> Maybe s) -> t -> (t, t, s)monoid-subclasses Data.Monoid.Textual No documentation available.
indexMaybe :: OsString -> Int -> Maybe OsCharos-string System.OsString O(1) OsString index, starting from 0, that returns Just if:
0 <= n < length bs