HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Moduleconduit-extra-1.3.8Haskell2010

Data.Conduit.Foldl

Adapter module to work with the foldl package.

  • 2 values
valuesinkFold :: Monad m => (x -> a -> x) -> x -> (x -> b) -> ConduitT a o m b
#

Convert a left fold into a Consumer. This function is intended to be used with purely from the foldl package.

valuesinkFoldM
  1. :: Monad m
  2. => x -> a -> m x
  3. -> m x
  4. -> x -> m b
  5. -> ConduitT a o m b
#

Convert a monadic left fold into a Consumer. This function is intended to be used with impurely from the foldl package.