What do the Clojure docs mean by "associative support"? -


i reading clojure documentation on datatypes. under list of differences between deftype , defrecord states defrecord has "associative support". i'm new clojure , wondering if clarify term me.

"associative support" means object implements the associative interface. includes lookup key, , ability create new object additional key/value pair added.

in general, means objects created defrecord can -- large part -- treated if standard clojure maps, whereas when using deftype, if want functionality need implement yourself.


Comments

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

datatable - Matlab struct computations -