From: gabriele renzi Date: 2004-03-10T21:34:37+09:00 Subject: Re: Why there is no Continuation.new ? il Wed, 10 Mar 2004 20:28:34 +0900, Carlos ha scritto:: > >Because callcc doesn't return a continuation, but, first: the value of >the block, and second: the argument to #call. I understand hat callcc calls the block passing the continuation to it, I did'nt meant to replace it. I just asked why the process by witch |$cc| is initialized is not available to us. I just knew of scheme's call/cc till some time ago, and I considered that was the only way to handle continuations. Than I found "new Continuation" in javascript, and I wondered if we could have (on side with callcc ) something like what exist in Rhino[1]. [1] http://www.apache.org/~jefft/forrest/samples/wikirenderer-site/wiki/RhinoWithContinuations.html >Here is an example (I am not good with examples...): every example is a good example to me :)