freer-extras-1.2.0.0: Useful extensions to simple-freer
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Freer.Extras.Stream

Synopsis
  • runStream :: forall e a effs. Eff (Yield e () ': effs) a -> Stream (Of e) (Eff effs) a

Documentation

runStream :: forall e a effs. Eff (Yield e () ': effs) a -> Stream (Of e) (Eff effs) a Source #

Turn the Yield e () effect into a pull-based stream of e events.