Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!eagle!data.nas.nasa.gov!sun499!raible From: raible@nas.nasa.gov (Eric Raible) Newsgroups: comp.lang.scheme Subject: Re: catch/throw in scheme - how to ?? Message-ID: Date: 12 Jun 91 15:38:33 GMT References: <1991Jun10.124127.17926@eua.ericsson.se> <502@data.UUCP> Sender: news@nas.nasa.gov Reply-To: raible@nas.nasa.gov Organization: Applied Research Office, NASA Ames Research Center Lines: 19 In-Reply-To: kend@data.UUCP's message of 10 Jun 91 23:20:22 GMT In article <502@data.UUCP> kend@data.UUCP (Ken Dickey) writes: From: kend@data.UUCP (Ken Dickey) Newsgroups: comp.lang.scheme Date: 10 Jun 91 23:20:22 GMT Organization: Microcosm, Beaverton, OR Just use your local syntax system to define the syntactic transformation: (catch . ) --> (call/cc (throw) ) Then you can (throw ) from within . -Ken Dickey kend@data.uucp Don't you mean this: (catch . ) --> (call/cc (lambda (throw) ))