Explanation of macros; Haskell macros
peter at javamonkey.com
Thu Oct 30 19:41:06 CET 2003
Joachim Durchholz <joachim.durchholz at web.de> writes:
> Peter Seibel wrote:
> > Joachim Durchholz <joachim.durchholz at web.de> writes:
> >>Efficiency issues aside: how are macros more intuitive than quoting?
> > Or you could do this:
> > (when (> x y) #'(lambda () (print x)))
> > which could work but seems a bit convoluted (i.e. unintuitive)
> > compared to the macro version.
> Um, right, but that's just a question of having the right syntactic sugar.
Uh right, that's what macros are for, providing the syntactic sugar.
Peter Seibel peter at javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp
More information about the Python-list