On Dec 22, 11:10 am, Piotr 'Qertoip' Włodarek <[email protected]>
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---