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.
mapMaybe2 :: (a -> Maybe b) -> Trie2 a -> Maybe (Trie2 b)bcp47 Data.BCP47.Trie.Internal No documentation available.
mapMaybeA :: (Filtrable f, Traversable f, Applicative p) => (a -> p (Maybe b)) -> f a -> p (f b)filtrable Data.Filtrable Traverse the container with the given function, dropping the elements for which it returns Nothing.
-
incremental-parser Text.ParserCombinators.Incremental Converts a parser accepting one input type to another, just like 'mapMaybeInput except the two argument functions can demand more input by returning Nothing. If 'mapMaybeInput is defined for the two input inputs, then
mapInput f g == mapMaybeInput (Just . f) (Just . g)
-
incremental-parser Text.ParserCombinators.Incremental.LeftBiasedLocal Converts a parser accepting one input type to another, just like 'mapMaybeInput except the two argument functions can demand more input by returning Nothing. If 'mapMaybeInput is defined for the two input inputs, then
mapInput f g == mapMaybeInput (Just . f) (Just . g)
-
incremental-parser Text.ParserCombinators.Incremental.Symmetric Converts a parser accepting one input type to another, just like 'mapMaybeInput except the two argument functions can demand more input by returning Nothing. If 'mapMaybeInput is defined for the two input inputs, then
mapInput f g == mapMaybeInput (Just . f) (Just . g)
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m bstreamly-core Streamly.Data.Stream Like mapMaybe but maps a monadic function. Equivalent to:
>>> mapMaybeM f = Stream.catMaybes . Stream.mapM f
>>> mapM f = Stream.mapMaybeM (\x -> Just <$> f x)
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Fold m b r -> Fold m a rstreamly-core Streamly.Internal.Data.Fold >>> mapMaybeM f = Fold.lmapM f . Fold.catMaybes
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m bstreamly-core Streamly.Internal.Data.Stream Like mapMaybe but maps a monadic function. Equivalent to:
>>> mapMaybeM f = Stream.catMaybes . Stream.mapM f
>>> mapM f = Stream.mapMaybeM (\x -> Just <$> f x)
mapMaybeM :: Monad m => (a -> m (Maybe b)) -> Stream m a -> Stream m bvector-stream Data.Stream.Monadic Apply monadic function to each element and drop all Nothings
-
what4 What4.Utils.AnnotatedMap No documentation available.