Honestly, if you really want to see the power of macros, look through Paul Graham's 'On Lisp.' Granted, it's written from the perspective of Common Lisp, but the general idea is applicable to most Lisps. Some things won't work, b/c I dont' believe Scheme's hygienic macros even allow variable capture, but overall it's an excellent treatise on Lisp macros.<br>
<br><a href="http://www.paulgraham.com/onlisp.html">http://www.paulgraham.com/onlisp.html</a><br><br>Tim<br><br><div class="gmail_quote">On Fri, Apr 24, 2009 at 11:25 AM, Chongkai Zhu <span dir="ltr"><<a href="mailto:czhu@cs.utah.edu">czhu@cs.utah.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Also chapter 8 or TSPL<br>
<br>
<a href="http://www.scheme.com/tspl3/syntax.html#./syntax:h0" target="_blank">http://www.scheme.com/tspl3/syntax.html#./syntax:h0</a><br><font color="#888888">
<br>
Chongkai</font><div><div></div><div class="h5"><br>
<br>
Todd O'Bryan wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I'm trying to learn about macros. Does anybody teach the concept and<br>
have lecture notes (that'd be great) or some sample problems to try<br>
(which would be wonderful)?<br>
<br>
Todd<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>
<br>
</blockquote>
<br>
_________________________________________________<br>
For list-related administrative tasks:<br>
<a href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme" target="_blank">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a><br>
</div></div></blockquote></div><br>