These two fns are right next to each other in core: (defn hash-map "keyval => key val Returns a new hash map with supplied mappings." ([] {}) ([& keyvals] (. clojure.lang.PersistentHashMap (createWithCheck keyvals))))
(defn hash-set "Returns a new hash set with supplied keys." ([] #{}) ([& keys] (clojure.lang.PersistentHashSet/createWithCheck keys))) I'm curious why hash-map uses a form to createWithCheck, and hash-set uses a static method. Sean -- 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