On Apr 28, 2010, at 6:38 PM, Mark Engelberg wrote: > 2. Rename contains? to contains-key? and make a function with the new > semantics called contains? Disadvantage - breaks existing code.
You could also alias contains? to contains-key?, use seq-contains? (or some other new name) for this new function, and deprecate contains? with an eye towards removal down the road. Deprecation has been used successfully even in mature languages, hasn't it? -- 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