Hi, Am 05.04.2011 um 17:56 schrieb Michael Jerger:
> (doseq [mykey (keys Dependency)] > (ant/mkdir {:dir (str lib "/" (name mykey))})) > > Is there a nifty way in clojure to access such "static record information"? You can get it from instances of the record type. user=> (defrecord Dependency [aspect project runtime dev transitive]) user.Dependency user=> (doseq [mykey (keys (Dependency. 1 2 3 4 5))] (println mykey)) :aspect :project :runtime :dev :transitive Otherwise, I'm not aware of such functionality other than reflection. Sincerely Meikel -- 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