[Haskell-cafe] monad-coroutine alternatives

Mario Blažević mblazevic at stilo.com
Fri Dec 2 20:41:54 UTC 2016


On 2016-12-02 02:29 PM, Alex wrote:
> Hello,
>
> Are there any data structures isomorphic to Coroutine[0] available on
> Hackage?

I believe the top recommendation is FreeT:

http://hackage.haskell.org/package/free-4.12.4/docs/Control-Monad-Trans-Free.html#t:FreeT

	Note, if the reason you need the coroutines is to implement streaming, 
you may want to proceed straight to Pipes or Conduit.



More information about the Haskell-Cafe mailing list