[cl-who-devel] loop and with-html-output

Jens Teich info at jensteich.de
Thu Dec 22 06:56:40 UTC 2011


> * (multiple-value-bind (records fields)
>      (select [genus] [species] :from "specimens" :where [= [collector] "Test"])
>    (loop for rec in records do
>         (loop for label in fields
>            for val in rec do
>              (fresh-line)
>              (with-html-output (*standard-output* nil :indent nil)
>                (:dt label)
>                (:dd val)))))
>

(:dt (str label))
(:dd (str val))

-jens




More information about the Cl-who-devel mailing list