[plt-scheme] Help using syntax-rules()

From: Patrick Li (patrickli.2001 at gmail.com)
Date: Mon Mar 15 15:06:06 EDT 2010

Hi,
I'm trying to learn Scheme's hygienic macro system, and was wondering how
you would write something like the following:

Say I think the current let is too verbose, and want to change it to this:

(mylet [a 1
           b 2
           c 3]
   (display a)
   (display b)
   (display c))

I know how to do this using Lisp-style macros, but I'm not too familiar with
how to use the ellipsis ... effectively.

Thanks for your help
  -Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100315/5ef5b5f0/attachment.html>

Posted on the users mailing list.