[Bese-devel] call/cc and unwind-protect

Marco Baringer mb at bese.it
Wed Jul 27 15:43:46 UTC 2005


Larry D'Anna <smoof-ra at elder-gods.org> writes:

> Is call/cc fundamentally incompatible with unwind-protect?  Is there
> any way unwind-protect can be weakened to be compatible with call/cc
> but still do The Right Thing?

only if you allow the protected form of unwind-protect to be called
multiple times or if continuations can be invalidated.

http://www.nhplace.com/kent/PFAQ/unwind-protect-vs-continuations.html

-- 
-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