HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

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.