Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!percy!data!kend From: kend@data.UUCP (Ken Dickey) Newsgroups: comp.lang.scheme Subject: Re^2: catch/throw in scheme - how to ?? Message-ID: <503@data.UUCP> Date: 12 Jun 91 15:25:06 GMT References: <1991Jun10.124127.17926@eua.ericsson.se> <502@data.UUCP> Organization: Microcosm, Beaverton, OR Lines: 15 kend@data.UUCP (Ken Dickey) writes: >Just use your local syntax system to define the syntactic transformation: >(catch . ) --> (call/cc (throw) ) A) I should have written: (catch . ) --> (call/cc (lambda (throw) )) B) I have only used catch/throw on a superannuated Lisp which did not use tags and have not used Common Lisp (after all, I have Scheme!), so you should follow JINX's form, not mine. Sorry for the confusion. -Ken Dickey kend@data.uucp