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

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.