Adding the additional zero did trigger the issue for me. I have bumped
the ticket into Release.Next. Thanks for the clarification.
Cheers,
Aaron Bedra
--
Clojure/core
http://clojure.com
On 08/25/2011 01:21 PM, Alan Malloy wrote:
Update: just built master, and issue still exists. If you want
Update: just built master, and issue still exists. If you want to be
"sure" you get it, just add another zero to the input range. I'll
mention that in the ticket as well.
On Aug 25, 10:14 am, Alan Malloy wrote:
> I did, of course. I searched for "transient", and didn't find any
> describing this
I did, of course. I searched for "transient", and didn't find any
describing this issue. And looking at the issue you link to, I still
don't see how it's related: it's a patch specifically for vectors, and
this code doesn't touch vectors; and it involves changes to a
transient "leaking" back into t
Please search through previous messages/tickets before posting new
issues. This issue has been fixed as of commit da412909d36551a526ed and
will be included in the -beta2 release. It was originally ticketed here:
http://dev.clojure.org/jira/browse/CLJ-816
(let [m (into {} (for [x (range 1
> Ticket is athttp://dev.clojure.org/jira/browse/CLJ-829
Thanks Alan, that's great!
--
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
On Aug 24, 12:27 am, Alan Malloy wrote:
> On Aug 23, 11:38 pm, Ken Wesson wrote:
>
> > What does zipmap do if the key seq contains duplications?
>
> That was my instinct too, but (a) a few thousand numbers won't collide
> very often at all given the problem space, and (b) some experimenting
> ind
On Aug 23, 11:38 pm, Ken Wesson wrote:
> What does zipmap do if the key seq contains duplications?
That was my instinct too, but (a) a few thousand numbers won't collide
very often at all given the problem space, and (b) some experimenting
indicates that the key-seq is always 100k elements large
Hi Ken,
> What does zipmap do if the key seq contains duplications?
It acts like a merge:
(zipmap
'(:a :b :c :d :c :c)
'(:A :B :C :D :E :F))
gives {:a :A :b :B :c :F :d :D}.
The input map itself seems to be irrelevant: the example I gave here
was synthetic just for simplicity.
--
You recei
What does zipmap do if the key seq contains duplications?
--
Protege: What is this seething mass of parentheses?!
Master: Your father's Lisp REPL. This is the language of a true
hacker. Not as clumsy or random as C++; a language for a more
civilized age.
--
You received this message because you
Hi all,
I've just run into what appears to be either some subtle transients
behaviour I'm misunderstanding, or a bug (I'm running the 1.3 beta).
Given the function:
(defn test-fn1
[map-context1]
(persistent!
(reduce
(ƒ [map-context2 key]
(when-not (get map-context2 key) (throw (
10 matches
Mail list logo