[cl-who-devel] MACROLET inside HTM
Volkan YAZICI
yazicivo at ttnet.net.tr
Tue May 22 19:13:58 UTC 2007
Hi,
I've been trying to use MACROLET in HTM with no success:
(with-html-output (*standard-output*)
(:div
(macrolet ((foo (bar) `(:div ,bar)))
(htm
(foo "baz")
(foo "moo")))))
Here's the fully macroexpand result of the above form:
(LET ((*STANDARD-OUTPUT* *STANDARD-OUTPUT*))
(PROGN
(WRITE-STRING "<div>" *STANDARD-OUTPUT*)
(MACROLET ((FOO (BAR)
`(:DIV ,BAR)))
(HTM (:DIV "baz") (:DIV "moo")))
(WRITE-STRING "</div>" *STANDARD-OUTPUT*)))
I will be appreciated if anybody would help me to figure out how to
use MACROLET inside HTM bodies.
Regards.
More information about the Cl-who-devel
mailing list