
22 Jun
2010
22 Jun
'10
6:55 a.m.
Paul Johnson wrote:
Yves Parès wrote:
It helps me understand better, but would you have some simple code that would do that ?
You can also understand coroutines and continuations in terms of operational semantics. Here is a reimplementation of Koen Claessen's poor man's concurrency monad based on this approach: PoorMansConcurrency.hs http://projects.haskell.org/operational/examples.html Regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com