HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulehw-prim-0.6.3.2Haskell2010

HaskellWorks.Control.Monad.Lazy

Synopsis
  • 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.