HORIZON HASKELLDocslts/ghc-10.0.x8174fa42026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8174fa4 · 2026-10-11

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.