On Thu, 2011-10-13 at 21:41 -0700, Dave Sann wrote: > Hi all, this may be a very simple question but I have not been able to find > any docs that help me
I suggest http://dev.clojure.org/display/design/defrecord +improvements#defrecordimprovements-Generatedfactoryfunctions . > (defrecord R [a b c]) > > Is there something equivalent to: > > (def r (apply R. ["a" "b" "c"])) > > available? (without writing macros?) The above generates ->r in 1.3. Check the link above for more. -- Stephen Compall ^aCollection allSatisfy: [:each|aCondition]: less is better -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en
