Fork me on GitHub
#clara
<
2016-07-14
>
devn23:07:48

Anyone have thoughts on clojure.spec and clara? Also, I was wondering: If I I decided to move to using :fact-type-fn on plain old maps to determine type, would it be possible to automatically bind the syms the same way they're bound for Java beans and Clojure Records?

devn23:07:30

Mainly, I'm interested in preserving provenance of the data that is being used to create the records. Given what's showing up in alpha10: user> #:person{:age 42, :name "Fred"} => {:person/age 42 :person/age "Fred"}, and the fact that destructuring is going to work with namespaced keys, I wondered what y'all would think about automatically binding from namespaced keys in maps.