Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
class
IsMap (f :: Type -> Type)streamly-core Streamly.Internal.Data.IsMap No documentation available.
bimapOverrideCount :: Int -> (s -> s1) -> (b -> b1) -> Step s b -> Step s1 b1streamly-core Streamly.Internal.Data.Parser Bimap discarding the count, and using the supplied count instead.
-
streamly-core Streamly.Internal.Data.Parser Map a Parser returning function on the result of a Parser. ALL THE CAVEATS IN splitWith APPLY HERE AS WELL. Pre-release
lmap :: forall a b (m :: Type -> Type) r . (a -> b) -> Parser b m r -> Parser a m rstreamly-core Streamly.Internal.Data.Parser lmap f parser maps the function f on the input of the parser.
>>> Stream.parse (Parser.lmap (\x -> x * x) (Parser.fromFold Fold.sum)) (Stream.enumerateFromTo 1 100) Right 338350
lmap = Parser.lmapM return
lmapM :: Monad m => (a -> m b) -> Parser b m r -> Parser a m rstreamly-core Streamly.Internal.Data.Parser lmapM f parser maps the monadic function f on the input of the parser.
-
streamly-core Streamly.Internal.Data.Parser Better performance concatMap for non-failing parsers. Does not work correctly for parsers that can fail. ALL THE CAVEATS IN splitWith APPLY HERE AS WELL.
rmapM :: Monad m => (b -> m c) -> Parser a m b -> Parser a m cstreamly-core Streamly.Internal.Data.Parser rmapM f parser maps the monadic function f on the output of the parser.
>>> rmap = fmap
lmap :: forall a (m :: Type -> Type) b . (a -> a) -> Producer m a b -> Producer m a bstreamly-core Streamly.Internal.Data.Producer Map the producer input to another value of the same type. Pre-release
lmapM :: Monad m => (a -> m b) -> Refold m c b r -> Refold m c a rstreamly-core Streamly.Internal.Data.Refold.Type lmapM f fold maps the monadic function f on the input of the fold. Internal
rmapM :: Monad m => (b -> m c) -> Refold m x a b -> Refold m x a cstreamly-core Streamly.Internal.Data.Refold.Type Map a monadic function on the output of a fold. Internal