On Monday, October 12, 2015 at 1:56:53 AM UTC-5, Michael Sperber wrote: > > > Alex Miller <a...@puredanger.com> writes: > > > Records are (intentionally) map-like structures that are compared with > > value equality, just like maps. This will not change. > > Did you read the original post? That's exactly what I'm trying to do. >
I'm trying to say - Clojure does not and will not support this on records (for good reasons) and deftype is the tool to use if you want custom equality semantics. Potemkin's def-map-type is one way to get the map semantics of a record on top of a deftype (where you can also define your own custom equality semantics). > (Our tentative answer is to implement our own record-definition form.) > > -- > Regards, > Mike > -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.