Hello Sunil,

>  It is really nice that all the clojure-datastructures have a function
> called hashCode..
IIRC this comes from Java where every object has a hashCode method.

> is it meant to be used by the end-user of clojure
This is mostly used by Java (and in turn by Clojure) for equality
testing and key generation (in hash tables).

> if so what things can we assume about them?
See 
http://download.oracle.com/javase/6/docs/api/java/lang/Object.html#hashCode%28%29.
Note that you can override hashCode in your code so it's not
guaranteed to have the above behavior.

HTH,
--
Miki

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