Hello,
I am quite puzzled:
(defn fortest1 []
(for [a (range 2 10)
b (range 2 10)]
(do
(println "x: " a " b:" b)
(list a b)))
)
(fortest1)
Shows the running "for macro"
(defn fortest2 []
(for [a (range 2 10)
b (range 2 10)]
(do
(println "x: " a " b:" b)
(list a b)))
(println "ende")
)
(fortest2)
doesn't show any effect of the for.
The only difference is the additional statement at the end.
I can not imagine how this statement sequentially behind can influence
the for.
Hope anybody can help
I am testing using 1.2.0 and 1.4.0-master and ccw inside eclipse
Andreas
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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