brandonbloom / dispatch-map

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

let IHierarchy impls be maps #4

Closed tomjack closed 11 years ago

tomjack commented 11 years ago

This just flips the check, assuming things that aren't IHierarchy are core hierarchy maps. I found it convenient to defrecord an IHierarchy with parents/descendants/ancestors for core hierarchy compatibility.

brandonbloom commented 11 years ago

No brainer. Thanks! I'll make a release tomorrow.