Also it seems it used to work on clojure 1.4 On Wednesday, December 4, 2013 2:29:35 PM UTC+1, Stefan Kamphausen wrote: > > It looks like you're onto something here > > get works with transient maps: > > (get (transient {:a 1 :b 2}) :a) > ;=> 1 > > and with transient vectors, too: > > (get (transient [1 2 3]) 0) > ;=> 1 > > but not with transient sets: > > (get (transient #{1 2 3}) 2) > ;=> nil > > And using contains? in a reduce with a transient accumulator does not seem > too far fetched to me. > > According to clojure.org/transients: "Transients support the read-only > interface of the source, i.e. you can call *nth*, *get*, *count* and > fn-call a transient vector, just like a persistent vector." > > Did you search in Jira whether this is a known issue? > > > Regards, > Stefan >
-- -- 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/groups/opt_out.