Explanation of macros; Haskell macros

Richie Hindle richie at entrian.com
Tue Oct 7 07:45:21 EDT 2003


[Mike]
> The following example relates to
> a problem familiar to all Python users and demonstrates 
> two uses of macros: syntax improvement and efficiency gain
> through compile-time code introspection.

[Clear lisp example snipped]

> Let me know if the above helped you understand the usefulness
> of macros or was just as sucky as the earlier stuff.

It certainly helped me to understand, yes.  Thanks for posting it.

-- 
Richie Hindle
richie at entrian.com






More information about the Python-list mailing list