Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* hash and nums
@ 2000-06-08 16:09 Jean-Christophe Filliatre
  2000-06-12 13:36 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: Jean-Christophe Filliatre @ 2000-06-08 16:09 UTC (permalink / raw)
  To: caml-list


It seems that the properties
   
	(eq_num n1 n2)  =>  (hash n1) = (hash n2)
	(eq_num n1 n2)  =>  (compare n1 n2) = 0

are now true in ocaml  3.00, although not stated in the documentation.
Can we safely assume these properties from now on?

-- 
Jean-Christophe Filliatre    
  Computer Science Laboratory   Phone (650) 859-5173
  SRI International             FAX   (650) 859-2844
  333 Ravenswood Ave.           email  filliatr@csl.sri.com
  Menlo Park, CA 94025, USA     web    http://www.csl.sri.com/~filliatr

  




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-06-12 14:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-08 16:09 hash and nums Jean-Christophe Filliatre
2000-06-12 13:36 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox