The @-syntax is described in this part of the manual:<div><br></div><div><a href="http://docs.racket-lang.org/scribble/reader.html">http://docs.racket-lang.org/scribble/reader.html</a></div><div><br></div><div>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.</div>
<div><br></div><div>Jay<br><br><div class="gmail_quote">On Fri, Nov 25, 2011 at 10:02 PM, Daniel Bastos <span dir="ltr"><<a href="mailto:dbastos@toledo.com">dbastos@toledo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2011/11/25 Jay McCarthy <<a href="mailto:jay.mccarthy@gmail.com">jay.mccarthy@gmail.com</a>>:<br>
<div class="im">> The lack of a space between ] and { is important. Notice that the example in<br>
> the documentation is<br>
> @in[c clients]{<br>
> <tr><td>@(car c), @(cdr c)</td></tr><br>
> }<br>
> not<br>
> @in[c clients] {<br>
> <tr><td>@(car c), @(cdr c)</td></tr><br>
> }<br>
<br>
</div>Indeed. Thanks. I wonder why there is such requirement. Does it avoid<br>
a difficulty in the parser or scanner?<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Jay McCarthy <<a href="mailto:jay@cs.byu.edu" target="_blank">jay@cs.byu.edu</a>><br>Assistant Professor / Brigham Young University<br><a href="http://faculty.cs.byu.edu/~jay" target="_blank">http://faculty.cs.byu.edu/~jay</a><br>
<br>"The glory of God is Intelligence" - D&C 93<br>
</div>