Here's a related problem. I have a sequence of strings and I'd like to
print each on a separate line. I know that this isn't the answer:
(force (map println results))
I'm not sure what else to try.

On Sat, Dec 27, 2008 at 10:12 AM, Meikel Brandmeyer <m...@kotka.de> wrote:
> Hi,
>
> Am 26.12.2008 um 21:43 schrieb Mark Volkmann:
>
>> (for [x (range 3)] (println x))
>
> for is not a looping construct. for is a list comprehension.
> For side effects as above use doseq.
>
> (doseq [x (range 3)] (println x))

-- 
R. Mark Volkmann
Object Computing, Inc.

--~--~---------~--~----~------------~-------~--~----~
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