Newsgroups: comp.lang.scheme
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!news.duke.edu!godot.cc.duq.edu!newsfeed.pitt.edu!uunet!news.iij.ad.jp!wnoc-tyo-news!nirvana.cs.titech!cs.titech!is.titech!wakita
From: wakita@is.titech.ac.jp (WAKITA Ken)
Subject: Re: unwind-protect with call/cc???
In-Reply-To: ep-prei@ophelia.tuwien.ac.at's message of 28 Sep 1994 09:21:28 GMT
Message-ID: <WAKITA.94Sep29133554@lemon.is.titech.ac.jp>
Sender: news@is.titech.ac.jp (Usenet News System)
Organization: Dept. Mathematical and Computing Sciences,
References: <36bcio$pmd@news.tuwien.ac.at>
Date: Thu, 29 Sep 1994 04:35:54 GMT
Lines: 18


> Has anyone an idea how to implement the unwind-protect or (better)
> the dynamic-wind (see elk) facility only with call/cc and (maybe)
> a small macro-facility?
> I would be glad to here from you.

The following article contains exactly what you want.

D.P.Friedman and C.T.Haynes, Constraining Control, POPL '85, pp. 
245-254.

Ken
--
WAKITA Ken (wakita@is.titech.ac.jp)
Department of Mathematical and Computing Sciences,
Tokyo Institute of Technology
2-12-1 Oh-okayama, Meguro-ku, Tokyo, 152, Japan
TEL: +81-(0)3-5734-3228, FAX: +81-(0)3-5734-2754
