[Haskell-cafe] Monad transformer to consume a list

Stephan Friedrichs deduktionstheorem at web.de
Mon Apr 6 16:37:21 EDT 2009


is there a monad transformer to consume an input list? I've got external
events "streaming into the monad" that are consumed on demand and I'm
not sure if there's something better than a StateT.



Früher hieß es ja: Ich denke, also bin ich.
Heute weiß man: Es geht auch so.

 - Dieter Nuhr

More information about the Haskell-Cafe mailing list