HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

Modulefoundation-0.0.30Haskell2010

Foundation.Conduit

Synopsis
  • Packagefoundation-0.0.30
  • Exports20
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceInternal.hs
newtypenewtype Conduit input output (monad :: Type -> Type) result

A component of a conduit pipeline, which takes a stream of input, produces a stream of output, performs actions in the underlying monad, and produces a value of result when no more output data is available.

Instances10MonadTrans, Monad, Functor, Applicative, MonadIO, MonadFailure, …
newtypenewtype ResourceT (m :: Type -> Type) a
#
Instances9MonadTrans, Monad, Functor, Applicative, MonadIO, MonadResource, …
valueyieldOr
  1. :: o
  2. -> m ()

    finalizer

  3. -> Conduit i o m ()

Same as yield, but additionally takes a finalizer to be run if the downstream component terminates.

valueleftover :: i -> Conduit i o m ()

Provide leftover input to be consumed by the next component in the current monadic binding.