Could we also include some words explicitly stating that the sorted
versions are not supported in 1.1.0?
Sean
On Dec 20, 11:56 am, "Stephen C. Gilardi" wrote:
> On Dec 19, 2009, at 7:50 PM, Chouser wrote:
>
> > I've updatedhttp://clojure.org/transientsto reflect vectors and
> > hash-map support
On Dec 19, 2009, at 7:50 PM, Chouser wrote:
> I've updated http://clojure.org/transients to reflect vectors and
> hash-map support of 'transient' in 1.1.0
Hash-sets appear to work in 1.1.0 as well.
--Steve
--
You received this message because you are subscribed to the Google
Groups "Clojure"
On Sat, Dec 19, 2009 at 10:30 AM, Sean Devlin wrote:
> Steve,
> I've been checking out the Java, and it looks the same to me. I think
> this raises a couple issues:
>
> 1. Should sorted versions get transient support in 1.1?
> 2. The docs should be updated to reflect the 1.1 status of
> transie
Steve,
I've been checking out the Java, and it looks the same to me. I think
this raises a couple issues:
1. Should sorted versions get transient support in 1.1?
2. The docs should be updated to reflect the 1.1 status of
transients.
Sean
On Dec 19, 10:23 am, "Stephen C. Gilardi" wrote:
> > I
> I was experimenting with transients, and they don't seem to work for
> sorted collections:
>
> user=> (transient (sorted-map 1 2 3 4))
> java.lang.ClassCastException: clojure.lang.PersistentTreeMap cannot be
> cast to clojure.lang.IEditableCollection (NO_SOURCE_FILE:0)
>
> user=> (transient (s
IIRC, you can use transient only with maps and vectors.
David
On Sat, Dec 19, 2009 at 8:46 AM, Sean Devlin wrote:
> Hey,
> I was experimenting with transients, and they don't seem to work for
> sorted collections:
>
> user=> (transient (sorted-map 1 2 3 4))
> java.lang.ClassCastException: clojur