The code in question is of course easily transformable into:

 (let [a 1] (for [b '(1 2 3)] (println a b)))

and I think that most examples people have given are similarly rewritable. 
I'm generally in favor of fixing nits like this (removing exceptional 
cases) so the question does not need to be asked, it is a low priority (and 
others in the approval chain may not concur with me :).

Alex

On Wednesday, April 30, 2014 11:48:39 PM UTC-5, Andy Fingerhut wrote:
>
> 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 
> <yuri.n...@gmail.com<javascript:>
> > 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 clo...@googlegroups.com<javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> 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+u...@googlegroups.com <javascript:>.
>> 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 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.

Reply via email to