[Bese-devel] can we do coroutines with cps?

Marco Baringer mb at bese.it
Tue Aug 30 13:13:36 UTC 2005


Pascal Bourguignon <pjb at informatimago.com> writes:

> Unfortunately this doesn't work: routine is not resumed.  It seems the
> (call/cc (function identity)) doens't return the current continuation,
> but jumps to the end of with-call/cc:

there's a variable, *call/cc-returns* which controls this
behaviour. try setting it t T and (after a recompile since it has
effect at macro expansion time) see what happens.

this should work (i consider this email a bug report), i'm now trying
to figure out why the interpeter breaks on this.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list