[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re : unwind-protect



** Subject: unwind-protect
** Message-ID: <10180@eddie.MIT.EDU>
** Date: 3 Oct 88 03:41:57 GMT
** Sender: uucp@eddie.MIT.EDU
** Reply-To: jbs@fenchurch.MIT.EDU (Jeff Siegal)
** Organization: MIT EE/CS Computer Facilities, Cambridge, MA
** Lines: 5
** 
** How can one do something like UNWIND-PROTECT in Scheme?  Is the
** concept completely ill-defined in the presence of first-class
** continuations, or is there an idiom which "sometimes works?"
** 
** Jeff Siegal

Kent Dybvig's Chez Scheme has what seems to be a much more powerful construct
called "dynamic-wind".  A brief sketch of its uses is given in Dybvig's
"The Scheme Programming Language".

-- Brad Pierce