Hi all, this may be a very simple question but I have not been able to find 
any docs that help me

(defrecord R [a b c])

Is there something equivalent to:

(def r (apply R. ["a" "b" "c"]))

available? (without writing macros?)

(in practice the list would be generated by some other function - say 
splitting a string or mapping over something else)

Thanks

Dave


-- 
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

Reply via email to