Coroutines

Simon Peyton-Jones simonpj@microsoft.com
Mon, 19 Mar 2001 09:14:09 -0800


Lazy evaluation *is* coroutines, in a way.

Or you may be interested in Concurrent Haskell
See section 4 of "Tackling the awkward squad"
	http://research.microsoft.com/~simonpj/papers/marktoberdorf.htm

Simon

| -----Original Message-----
| From: Andreas Gruenbacher [mailto:gruenbacher@geoinfo.tuwien.ac.at]
| Sent: 19 March 2001 17:00
| To: haskell-cafe@haskell.org
| Subject: Coroutines
|=20
|=20
| Hello,
|=20
| has anybody thought about how to implement Simula style coroutines in
| Haskell? What I have in mind is several "procedures" that=20
| communicate via
| message passing in a co-operative way. That would give clear=20
| and intuitive
| code for things like simulations...
|=20
| Thanks,
| Andreas.
|=20
| --------------------------------------------------------------
| ----------
|  Andreas Gruenbacher                  gruenbacher@geoinfo.tuwien.ac.at
|  Research Assistant                       Phone      +43(1)58801-12723
|  Institute for Geoinformation             Fax        +43(1)58801-12799
|  Technical University of Vienna           Cell phone   +43(664)4064789
|=20
|=20
| _______________________________________________
| Haskell-Cafe mailing list
| Haskell-Cafe@haskell.org
| http://www.haskell.org/mailman/listinfo/haskell-cafe
|=20