<div dir="ltr"><div><span class="">Greg Hendershott's pages </span> may be of interest to you:<br><a href="http://www.greghendershott.com/fear-of-macros/">http://www.greghendershott.com/fear-of-macros/</a><br>And I think you can find some worthwhile notes on the PLT blog too.<br>
<br></div>Laurent<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 17, 2013 at 11:08 AM, Tim Brown <span dir="ltr"><<a href="mailto:tim.brown@cityc.co.uk" target="_blank">tim.brown@cityc.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Danny, Jens Axel, Ian, Ray,<br>
<br>
Thanks for your input... I'm absorbing it all.<br>
<br>
I need some really basic help getting my head around all of this.<br>
Where can I download a copy of "How to Design Macros"? :-)<span class="HOEnZb"><font color="#888888"><br>
<br>
Tim</font></span><div class="im HOEnZb"><br>
<br>
On 16/01/13 17:22, Jens Axel Søgaard wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Tim,<br>
<br>
Danny explains the problem well.<br>
To accumulate a result, one must stay in the same<br>
same dynamic extent. One way to solve the problem<br>
is to use local-expand. In some cases one can<br>
write expanders for the forms, that needs analysing<br>
and call them directlye (rather than write a macro<br>
for the subform and then let the expander<br>
call a macro transformer).<br>
<br>
Below is a short example, which incidently shows<br>
an alternative solution the local-expand problem,<br>
I had the other day<br>
(see <a href="http://www.mail-archive.com/users@racket-lang.org/msg15937.html" target="_blank">http://www.mail-archive.com/<u></u>users@racket-lang.org/<u></u>msg15937.html</a> ).<br>
<br>
If you need local-expand, then see Matthews answer on how<br>
to use definition contexts with local-expand.<br>
<br>
/Jens Axel<br>
</blockquote>
<br></div><div class="HOEnZb"><div class="h5">
-- <br>
Tim Brown <<a href="mailto:tim.brown@cityc.co.uk" target="_blank">tim.brown@cityc.co.uk</a>> | City Computing Limited |<br>
T: <a href="tel:%2B44%2020%208770%202110" value="+442087702110" target="_blank">+44 20 8770 2110</a> | City House, Sutton Park Road |<br>
F: <a href="tel:%2B44%2020%208770%202130" value="+442087702130" target="_blank">+44 20 8770 2130</a> | Sutton, Surrey, SM1 2AE, GB |<br>
------------------------------<u></u>------------------------------<u></u>-----------|<br>
BEAUTY: What's in your eye when you have a bee in your hand |<br>
------------------------------<u></u>------------------------------<u></u>-----------'<br>
City Computing Limited registered in London No. 1767817.<br>
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE<br>
VAT number 372 8290 34.<br>
<br>
<br>
____________________<br>
Racket Users list:<br>
<a href="http://lists.racket-lang.org/users" target="_blank">http://lists.racket-lang.org/<u></u>users</a><br>
</div></div></blockquote></div><br></div>