On Aug 29, 2011, at 8:20 PM, Alex Miller wrote: > I'm not sure if there are any enhancements in the 1.3 record support > for this feature.
In 1.3beta2, the record class has a static method getBasis that will give you the fields. I remember Fogus mentioning this on the mailing list. The design notes [1] say "These methods should not be used in Clojure code" as they're intended for tool support, but they seem generally useful to me. user=> (clojure-version) "1.3.0-beta2" user=> (defrecord MyRecord [a b]) user.MyRecord user=> (MyRecord/getBasis) [a b] [1] http://dev.clojure.org/display/design/defrecord+improvements Steve Miner -- 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