From: gabriele renzi Date: 2005-02-12T05:20:00+09:00 Subject: Re: continuations and throw / catch William Morgan ha scritto: > Excerpts from William Morgan's mail of 11 Feb 2005 (EST): > >>Here's something I whipped up that lets you suspend and resume an >>arbitrary function. For simplicity, it doesn't pass return values from >>resume/suspend, but it wouldn't be too hard to modify it to do that. > > > What the hey, here's a version that lets you pass values with suspend > and resume as well. It's not too much more complex. I think you just reinvented coroutines :)