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

Control.Monad.Freer.Extras.Stream

Synopsis

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.