user> (for [ b '(1 2 3) :let [a 1] ] (println a b)) is OK.
On Thursday, May 1, 2014 12:39:22 PM UTC+8, Yuri Niyazov wrote: > > Hello everyone, > > In Clojure 1.6: > > user> (doseq [:let [a 1] b '(1 2 3)] (println a b)) > 1 1 > 1 2 > 1 3 > nil > user> (for [:let [a 1] b '(1 2 3)] (println a b)) > IllegalStateException Can't pop empty vector > clojure.lang.PersistentVector.pop (PersistentVector.java:381) > user> > > Is this expected behavior? a bug? Something I missed in the documentation? > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.