At least a few people consider it a bug, and two of them created a ticket,
the first of which was declined as not a bug. That is some evidence that
it is considered not a bug:
http://dev.clojure.org/jira/browse/CLJ-1316
http://dev.clojure.org/jira/browse/CLJ-207
Andy
On Wed, Apr 30, 2014 at 9:39 PM, Yuri Niyazov <[email protected]>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 [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
> ---
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
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
---
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 [email protected].
For more options, visit https://groups.google.com/d/optout.