On Dec 22, 11:10 am, Piotr 'Qertoip' Włodarek <qert...@gmail.com>
wrote:
> user=> (doseq [word ("one" "two" "three")] (println word))

The problem here is that the list ("one" "two" "three") tries to
evaluate "one" as a function.  Try this:

user=> (doseq [word (list "one" "two" "three")] (println word))
one
two
three
nil

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to