[plt-scheme] Getting Serious with Learning Macros

From: Jon Rafkind (rafkind at cs.utah.edu)
Date: Wed Sep 16 15:03:59 EDT 2009

Doug Williams wrote:
> I saw the examples in the guide. They are rather trivial and it really took
> looking at real examples in the code to see what was going on - at least for
> me. What I was looking for was something between the guide - too trivial -
> and the PLT Scheme code - no context. What I really want is the brain of
> whoever wrote things like pattern.ss. Actually, pattern.ss is just one I
> happened to find by poking around. Just pointing to some examples like that
> would be useful.

I just added a slightly less trivial example for define-for-syntax. 
Usually I like to add trivial examples because they are easy to mentally 
parse (rather than reading some text) but more sophisticated examples 
would be more educational.

Posted on the users mailing list.