Dear all,

when you write a deftype and want to define a hashCode method, it
would be really great to have access to a macro

(construct-hash arg1 .... argn)

that would compute the hash code of each arguments and combine them in
a good way to produce a hash-code.

Is there anything like that in core or contrib?


(The same kind of idea could be applied for a generic equality macro,
that checks identity, type and then the pairs of arguments given)

Best regards,


Nicolas.

-- 
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

Reply via email to