That's very interesting. I haven't run into this issue before.

One cleanish way to side-step it is to use

(defn foo2 []
  (try
   (println "body")
   (finally
    (doall (for [x (range 3)] (println x))))))

Which is perhaps a little cleaner in meaning to the original doseq
than a reduce.
  -Patrick

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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