[plt-scheme] Question on Syntactic Sugar

Dave Herman dherman at ccs.neu.edu
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



More information about the plt-scheme mailing list