HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

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.