Re: Patch: java.util.Map support

2008-10-06 Thread Rich Hickey
On Sep 30, 11:17 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > On Sep 30, 5:04 am, Achim Passen <[EMAIL PROTECTED]> wrote: > > > On Sep 30, 5:20 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > > > > After some more thought, I'm not sure whether this should be a concern > > > or not. Since j

Re: Patch: java.util.Map support

2008-10-01 Thread Stuart Sierra
On Sep 30, 11:17 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > Feedback welcome, Yes, please let Clojure maps implement java.util.Map. As long as seq and coll? still work on maps, I think the breakage will be minimal. -Stuart Sierra --~--~-~--~~~---~--~~ You recei

Re: Patch: java.util.Map support

2008-09-30 Thread Achim Passen
Am 30.09.2008 um 17:20 schrieb Paul Barry: > On Sep 30, 11:17 am, Rich Hickey <[EMAIL PROTECTED]> wrote: >> I've been thinking about this Map vs Collection issue for a while now >> and am considering making the move to: Clojure maps implement Java >> Map. > > Yes, please do! +1! Yes, that’s muc

Re: Patch: java.util.Map support

2008-09-30 Thread Paul Barry
On Sep 30, 11:17 am, Rich Hickey <[EMAIL PROTECTED]> wrote: > I've been thinking about this Map vs Collection issue for a while now > and am considering making the move to: Clojure maps implement Java > Map. Yes, please do! +1! --~--~-~--~~~---~--~~ You received th

Re: Patch: java.util.Map support

2008-09-30 Thread Rich Hickey
On Sep 30, 5:04 am, Achim Passen <[EMAIL PROTECTED]> wrote: > On Sep 30, 5:20 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > > > After some more thought, I'm not sure whether this should be a concern > > or not. Since jmap's purpose is to wrap Clojure maps for passing to > > Java APIs, I'

Re: Patch: java.util.Map support

2008-09-30 Thread Achim Passen
On Sep 30, 5:20 am, "Stephen C. Gilardi" <[EMAIL PROTECTED]> wrote: > After some more thought, I'm not sure whether this should be a concern   > or not. Since jmap's purpose is to wrap Clojure maps for passing to   > Java APIs, I'm not sure when it will be necessary to compare jmaps to   > Clojur

Re: Patch: java.util.Map support

2008-09-30 Thread Achim Passen
Hi Steve, thank you for taking a look and for your suggestions! > This part concerns me: > > > Note: Since clojure maps are no java maps, they can't be equal to java > > maps. This holds for wrapped clojure maps as well - surprisingly (in a > > bad sense), but i don't see a way around this: > >

Re: Patch: java.util.Map support

2008-09-29 Thread Stephen C. Gilardi
On Sep 29, 2008, at 3:20 PM, Stephen C. Gilardi wrote: > This part concerns me: > >> Note: Since clojure maps are no java maps, they can't be equal to >> java >> maps. This holds for wrapped clojure maps as well - surprisingly >> (in a >> bad sense), but i don't see a way around this: >> >>

Re: Patch: java.util.Map support

2008-09-29 Thread Stephen C. Gilardi
Hi achim, That looks like a fine start. Thanks for doing it! This part concerns me: > Note: Since clojure maps are no java maps, they can't be equal to java > maps. This holds for wrapped clojure maps as well - surprisingly (in a > bad sense), but i don't see a way around this: > >(= (doto (