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.
mapMaybe :: Ord key => key -> Accessor (Map key elem) (Maybe elem)distributed-process Control.Distributed.Process.Internal.StrictContainerAccessors No documentation available.
data
FromMaybe (a :: k) (b :: Maybe k) (c :: k)first-class-families Fcf No documentation available.
data
UnMaybe (c :: Exp b) (d :: a -> Exp b) (e :: Maybe a) (f :: b)first-class-families Fcf No documentation available.
data
FromMaybe (a :: k) (b :: Maybe k) (c :: k)first-class-families Fcf.Data.Common No documentation available.
data
UnMaybe (c :: Exp b) (d :: a -> Exp b) (e :: Maybe a) (f :: b)first-class-families Fcf.Data.Common No documentation available.
mapMaybe :: (v1 -> Maybe v2) -> InsOrdHashMap k v1 -> InsOrdHashMap k v2insert-ordered-containers Data.HashMap.Strict.InsOrd No documentation available.
mapMaybeWithKey :: (k -> v1 -> Maybe v2) -> InsOrdHashMap k v1 -> InsOrdHashMap k v2insert-ordered-containers Data.HashMap.Strict.InsOrd No documentation available.
-
streaming Streaming.Prelude The catMaybes function takes a Stream of Maybes and returns a Stream of all of the Just values. concat has the same behavior, but is more general; it works for any foldable container type.
-
streaming Streaming.Prelude The mapMaybe function is a version of map which can throw out elements. In particular, the functional argument returns something of type Maybe b. If this is Nothing, no element is added on to the result Stream. If it is Just b, then b is included in the result Stream.
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream (Of a) m r -> Stream (Of b) m rstreaming Streaming.Prelude Map monadically over a stream, producing a new stream only containing the Just values.