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.
mapMaybeAndRest :: (a -> Maybe b) -> [a] -> ([b], Suffix a)Agda Agda.Utils.List Like mapMaybe, but additionally return the last partition of the list where the function always returns Nothing. O(n).
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]Agda Agda.Utils.Monad A monadic version of mapMaybe :: (a -> Maybe b) -> [a] -> [b].
mapMaybeMM :: Monad m => (a -> m (Maybe b)) -> m [a] -> m [b]Agda Agda.Utils.Monad A version of mapMaybeM with a computation for the input list.
mapMaybeM :: Applicative m => (a -> m (Maybe b)) -> [a] -> m [b]breakpoint Debug.Breakpoint.GhcFacade Applicative version of mapMaybe
-
comfort-graph Data.Graph.Comfort You may only use this for filtering edges and use more specialised types as a result. You must not alter source and target nodes of edges.
-
construct Construct Converts a format for serialized streams of type s so it works for streams of type t instead. The argument functions may return Nothing to indicate they have insuficient input to perform the conversion.
-
construct Construct Converts a format for in-memory values of type a so it works for values of type b instead. The argument functions may signal conversion failure by returning Nothing.
-
construct Construct.Classes Converts a parser accepting one input stream type to another just like mapParserInput, except the argument functions can return Nothing to indicate they need more input.
-
dependent-monoidal-map Data.Dependent.Map.Monoidal O(n). Map keys/values and collect the Just results.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]distribution-opensuse OpenSuse.Prelude A version of mapMaybe that works with a monadic predicate.