[plt-scheme] Question on Syntactic Sugar

From: Dave Herman (dherman at ccs.neu.edu)
Date: Thu Nov 1 15:34:55 EDT 2007

Sorry, typo:

> (define-syntax setq
>   (syntax-rules setq
>     [(setq rest ...) (define rest ...)]))

I meant:

(define-syntax setq
   (syntax-rules ()
     [(setq rest ...) (define rest ...)]))

Dave


Posted on the users mailing list.