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 <kfjwhee...@gmail.com> wrote:

>
> 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
> Associative, but that's not really a clojure protocol.
>
> Is there an easy way to write cross-platform code that can extend
> associative collections?
>
> Thanks
>
> --
> 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/d/optout.
>



-- 
“One of the main causes of the fall of the Roman Empire was that–lacking
zero–they had no way to indicate successful termination of their C
programs.”
(Robert Firth)

-- 
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/d/optout.

Reply via email to