I am trying to create record definitions dynamically during runtime.
On Jan 17, 2015, at 6:04 PM, Matching Socks <phill...@gmail.com> wrote:Did you find something really wrong with defstruct? Occasions when the basis fields are not known to the programmer seem better met by defstruct than defrecord. And defstruct has not been deprecated in the API documentation. The comment "Note: Most uses of StructMaps would now be better served by records"[1] probably refers to times when you know the fields! Is there really a need to bend over backwards to switch natural defstruct usage over to records?
[1] http://clojure.org/data_structures