You can implement the clojure.lang.IPersistentMap interface if you want to
create your own map type.
суббота, 28 июля 2012 г., 8:09:05 UTC+6 пользователь JvJ написал:
>
> Is there a way to extend whatever protocol is used by Clojure maps (struct
> maps, array maps, hash maps, etc.)?
--
You rec
In Clojure (JVM) Maps, etc. are built on top of Java interfaces and
not Clojure protocols (yet).
And yes, it's quite possible to build your own data-structure that
behaves like a map.
I will be able to give you a better answer if you explain your exact
requirement.
Regards,
BG
On Sat, Jul 28, 2
Is there a way to extend whatever protocol is used by Clojure maps (struct
maps, array maps, hash maps, etc.)?
--
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 memb