On Oct 7, 10:50 am, Hans Sjunnesson wrote:
> The following code works fine:
> (doseq [x (xml-seq foo)] (println x))
>
> However when I want to do more things in the doseq body, or I simply
> add an extra set of parentheses around the println statement, I get a
> nullpointer.
> (doseq [x (xml-seq
Hi,
On Oct 7, 10:50 am, Hans Sjunnesson wrote:
> However when I want to do more things in the doseq body, or I simply
> add an extra set of parentheses around the println statement, I get a
> nullpointer.
> (doseq [x (xml-seq foo)] ((println x)))
Just do multiple things in the doseq body:
(do
The following code works fine:
(doseq [x (xml-seq foo)] (println x))
However when I want to do more things in the doseq body, or I simply
add an extra set of parentheses around the println statement, I get a
nullpointer.
(doseq [x (xml-seq foo)] ((println x)))
java.lang.NullPointerException (NO_