Re: Hiccup with Sequence

2010-09-27 Thread Paul
Nicolas, Yes, that's solved the problem. Many thanks for you swift help. Paul. On Sep 27, 12:12 pm, Nicolas Oury wrote: > doseq do not return anything. (It is for side-effect only). > > You might be looking for 'for'. > > (doc for) > - > clojure.core/for > ([seq-exprs bo

Re: Hiccup with Sequence

2010-09-27 Thread Nicolas Oury
doseq do not return anything. (It is for side-effect only). You might be looking for 'for'. (doc for) - clojure.core/for ([seq-exprs body-expr]) Macro List comprehension. Takes a vector of one or more binding-form/collection-expr pairs, each followed by zero or more

Hiccup with Sequence

2010-09-27 Thread Paul
Hi all, I'm trying to output the items from a sequence into a HTML list using the Hiccup HTML builder, but am having problems. Here is the code I think 'should' work, but nothing after the ':ul' is passed back to the response: (html [:html [:body [