On Jul 23, 2012, at 4:06 PM, Aravindh Johendran wrote: > Are struct-maps really deprecated? I don't see a deprecation warning anywhere > (clojure website, source, api, etc.). All I see is the following line in > clojure website. > ---> Note: Most uses of StructMaps would now be better served by records. > Is the use of struct-maps officially being discouraged? Is that the same as > being "almost deprecated"? Will struct-maps go away in a future release? >
There's also this: "Overall, records will be better than structmaps for all information-bearing purposes, and you should move such structmaps to defrecord. It is unlikely much code was trying to use structmaps for programming constructs, but if so, you will find deftype much more suitable." from http://clojure.org/datatypes FWIW there's also a comment on stackoverflow MichaĆ Marczyk: "in fact, the latter is deprecated in 1.2" (http://stackoverflow.com/questions/4288360/clojures-macro-define-a-binding-whose-name-is-composed-from-an-argument). I don't know if there's any more official statement anywhere. Myself, I really like struct-maps and I hope they stay around. -Lee -- 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