[comp.lang.scheme] Re^2: catch/throw in scheme - how to ??

kend@data.UUCP (Ken Dickey) (06/12/91)

kend@data.UUCP (Ken Dickey) writes:

>Just use your local syntax system to define the syntactic transformation:
>(catch . <body>) --> (call/cc (throw) <body>)

A) I should have written:
	(catch . <body>) --> (call/cc (lambda (throw) <body>))

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