[gambit-list] Request: examples of cool uses of macros

Bill Six billsix at gmail.com
Sun Jan 27 15:22:34 EST 2013


Although this suggestion will not help for your immediate goal, the
following book is full of great macros.

http://www.paulgraham.com/onlisp.html
On Jan 25, 2013 9:49 AM, "Jason Felice" <jason.m.felice at gmail.com> wrote:

>
> Hi!
>
> Does anyone have any examples of macros which drastically improve
> readability or simplicity of code?  Maybe neat hacks?
>
> Not *deep* hacks that take a long time to understand, but things which
> can be used to illustrate why macros are powerful and awesome.
>
> Background:
>
> I'm giving a talk tomorrow on Scheme to prisoners in a job training
> program. The purpose is to expand their brains by exposing them to concepts
> they haven't seen before (they don't have Internet access).
>
> The talk is about Scheme and "Code is Data".  I've laid the foundation,
> but am getting to the point where I want to have some flashy and
> interesting uses of macros.
>
> Any help would be appreciated.
>
> Thanks,
> -Jason
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.iro.umontreal.ca/pipermail/gambit-list/attachments/20130127/6be32249/attachment.htm>


More information about the Gambit-list mailing list