Re: Extending IAssociative/Associative in clj and cljs

2016-04-16 Thread JvJ
I know I have to do it with CLJC. I just didn't want to mess around with too many reader conditionals. On Saturday, 16 April 2016 19:52:30 UTC-7, tbc++ wrote: > > You have to do it with CLJC. Not optimal, but that's the way it goes right > now. And yeah Associative.java is broken up into

Re: Extending IAssociative/Associative in clj and cljs

2016-04-16 Thread Timothy Baldridge
You have to do it with CLJC. Not optimal, but that's the way it goes right now. And yeah Associative.java is broken up into multiple smaller protocols in CLJS. Timothy On Sat, Apr 16, 2016 at 8:19 PM, JvJ wrote: > > I was attempting to create a cross-platform (clojure and

Extending IAssociative/Associative in clj and cljs

2016-04-16 Thread JvJ
I was attempting to create a cross-platform (clojure and clojurescript) datatype that would act as an associative collection. I can see that cljs has a number of protocols for this under cljs.core. However, those protocols are not present in clojure. There is the java interface