I'm working on a behavior simulation demo in Clojure, and I've opted to use protocols as a mechanism for composing entity capabilities. This snippit of code demonstrates what I'm doing:
https://gist.github.com/2351790 Everything is working so far, but I'm wondering if this is an idiomatic usage of protocols and records. I ask this specifically because I'm getting a code smell type feeling in duplicating all the keys from Movement in my base-behavior map. -- 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