Am Dienstag, 5. April 2011, 23:53:56 schrieb Stuart Sierra: > defrecord does not, at present, produce a first-class Clojure object, just > a Java class that implements Clojure's map interfaces. So there's no > "Record" object to ask questions about. As Meikel said, you could use > Java reflection, but that's it.
Creating an temporal instance I would not denot as the upright way ... > There is some ongoing work to make records more first-class, although I'm > not sure if this feature will be included. See > http://dev.clojure.org/display/design/defrecord+improvements At the factory Part I totaly agree :-) Not geting a first class Clojure object means, that it would not be possible, to get my static info into and out of the records meta (^#)? As straightforwad I expect to extend defrecord in order to put my information into the record-types meta object und get the data out of this after ... Would this work? Now? In fututre? Kind regards, M.Jerger
signature.asc
Description: This is a digitally signed message part.