Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
A stream transformer in final encoding.
One step of the stream transformer performs a monadic action and results in an output and a new stream.
Instances
MFunctor Final Source # | |
Alternative m => Alternative (Final m) Source # | |
Applicative m => Applicative (Final m) Source # | |
Functor m => Functor (Final m) Source # | |
toFinal :: Functor m => StreamT m a -> Final m a Source #
Translate an initially encoded stream into a finally encoded one.
This is usually a performance penalty.