[racket] racket's template system: expand: unbound identifier

From: Jay McCarthy (jay.mccarthy at gmail.com)
Date: Sat Nov 26 10:23:38 EST 2011

The @-syntax is described in this part of the manual:

http://docs.racket-lang.org/scribble/reader.html

But I don't see any rationale for the required spaces. I presume it to
allow all the various optional pieces to be left out in any order.

Jay

On Fri, Nov 25, 2011 at 10:02 PM, Daniel Bastos <dbastos at toledo.com> wrote:

> 2011/11/25 Jay McCarthy <jay.mccarthy at gmail.com>:
> > The lack of a space between ] and { is important. Notice that the
> example in
> > the documentation is
> > @in[c clients]{
> >    <tr><td>@(car c), @(cdr c)</td></tr>
> >   }
> > not
> > @in[c clients] {
> >    <tr><td>@(car c), @(cdr c)</td></tr>
> >   }
>
> Indeed. Thanks. I wonder why there is such requirement. Does it avoid
> a difficulty in the parser or scanner?
>



-- 
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20111126/5b9fbffb/attachment.html>

Posted on the users mailing list.