brandonbloom / dispatch-map

Persistent map with Clojure's multimethod dispatch semantics
29 stars 3 forks source link

Missing interfaces/protocols on DispatchMap #3

Closed brandonbloom closed 11 years ago

brandonbloom commented 11 years ago

See https://github.com/ztellman/potemkin/blob/master/src/potemkin/collections.clj#L58

brandonbloom commented 11 years ago

I think DispatchMapFn also needs equals and hashCode

brandonbloom commented 11 years ago

DispatchMapFn didn't need equals or hashCode because the default Object ones were good enough the Clojure MultiFn implementation