[plt-scheme] Macro tutorial question

From: Jens Axel Søgaard (jensaxel at soegaard.net)
Date: Thu Jul 23 07:18:39 EDT 2009

Hi Adam,

> Which works, surprisingly, and confuses me. Generally define-syntax does not
> evaluate the first argument but uses it as a symbol naming the item in the
> syntax, ...

This is true for syntax-rules, but not for syntax-case.
In rare cases one can get bitten by this, and therefore it is
recommended to use _ with syntax-case macros.

-- 
Jens Axel Søgaard


Posted on the users mailing list.