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.