From 4e5747adfd7b5c83cac2c4bb242d85fd3cb6fdd0 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Wed, 5 Mar 2014 20:14:51 +0100 Subject: Fixing previous commit. Forgot to include some code. --- lib/hMap.mli | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/hMap.mli') diff --git a/lib/hMap.mli b/lib/hMap.mli index 4519ba316a..45b722fda0 100644 --- a/lib/hMap.mli +++ b/lib/hMap.mli @@ -10,7 +10,10 @@ module type HashedType = sig type t val compare : t -> t -> int + (** Total ordering *) val hash : t -> int + (** Hashing function compatible with [compare], i.e. [compare x y = 0] implies + [hash x = hash y]. *) end (** Hash maps are maps that take advantage of having a hash on keys. This is -- cgit v1.2.3