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

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

Modulehw-prim-0.6.3.2Haskell2010

HaskellWorks.Control.Monad.Lazy

  • 6 values
  • Packagehw-prim-0.6.3.2
  • Exports6
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLazy.hs
valueinterleaveUnfoldrM
  1. :: MonadUnliftIO m
  2. => b -> m (Maybe (a, b))
  3. -> b
  4. -> m [a]
#

Generates a lazy list of values that are produced by a given monadic function.

This function is intended to be like the "standard" unfoldrM except that the list is generated lazily.

valueinterleaveTraverseM :: MonadUnliftIO m => (a -> m b) -> [a] -> m [b]
#

Traverses the function over the list and produces a lazy list in a monadic context.

It is intended to be like the "standard" traverse except that the list is generated lazily.