[cl-who-devel] Re: Newbie confusion
Vamsee Kanakala
vamlists at gmail.com
Sat Nov 18 04:51:49 UTC 2006
Sorry, don't bother - I didn't realize that I have to use esc for
displaying strings - been jumping through all kinds of hoops to find out
why the text wasn't showing up :)
Vamsee Kanakala wrote:
> Hi,
>
>
> I suspect this has got to do with not properly understanding what gensym
> does, but I think this should work, but I'm only getting empty <li>
> elements from the list-items function. Where am I going wrong?
>
> (defun list-items ()
> (let ((=value= (gensym)))
> (loop for =value= to 15 collecting
> `((:li (write-to-string ,=value=))))))
>
> (defmacro show-errors ()
> `(with-html-output (*standard-output*)
> (:div :id "errorExplanation"
> (:ul ,@(list-items)))))
>
>
> Thanks,
> Vamsee.
>
More information about the Cl-who-devel
mailing list