Ive just thought up that using print-dup for records might become a nightmare. This is because it will now matter which ns you load it from. If it loads an ns where the constructor function isnt defined or isnt imported, it will throw an error. This will become a nightmare when mixes records from various nses. A possible solution would be to create a generic function, called new-record, which takes the ns and the constructor function (find-ns ns-of-function function-symbol) and then call that. Pretty simple.
-- 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