[plt-scheme] Getting Serious with Learning Macros

From: Doug Williams (m.douglas.williams at gmail.com)
Date: Wed Sep 16 13:10:19 EDT 2009

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.

On Wed, Sep 16, 2009 at 11:01 AM, Jon Rafkind <rafkind at cs.utah.edu> wrote:

> Doug Williams wrote:
>> Yes, that is what got me to where I am now. I do need to read it again now
>> that I've gotten as far as I have. For example, I didn't know until I
>> looked
>> at some real code how define-for-syntax worked, etc. There are a lot of
>> syntax-related functions in the reference manual, but it's short on
>> examples
>> (by design) and the Guide doesn't go into enough depth (for me, anyway).
> It depends what version of PLT you have but there are examples for some of
> those functions (like define-for-syntax).
> http://docs.plt-scheme.org/reference/define.html#(form._((lib._scheme/private/define..ss)._define-for-syntax))<http://docs.plt-scheme.org/reference/define.html#%28form._%28%28lib._scheme/private/define..ss%29._define-for-syntax%29%29>
> If you have any specific functions you'd like to see examples for I'd be
> happy to add them.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090916/7ac24ceb/attachment.html>

Posted on the users mailing list.