On Thu, 2008-12-18 at 11:01 +0000, Robin Green wrote:
> In my opinion, in Haskell, you don't need coroutines because you have
> lazy evaluation.
> 
> You example below is simply an example of a heterogenous list being
> read. The simplest way to implement a heterogenous list in Haskell is
> to use a tuple. Or you could use the HList package.

Lazy evaluation obviates some, but certainly not all uses of coroutines.

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to