:: (a -> m (Maybe b)) -> [a] -> m [b] -package:relude
Applicative version of mapMaybe
A version of
mapMaybe that works with a monadic predicate.
A monadic version of
mapMaybe :: (a -> Maybe b) ->
[a] -> [b].
A monadic version of mapMaybe :: (a -> Maybe b) -> [a] ->
[b].