module type S = sig
.. end
include CCHash.HASH
type 'a
hash_fun = 'a -> CCHash.state -> CCHash.state
val string : string hash_fun
val list : 'a hash_fun -> 'a list hash_fun
val array : 'a hash_fun -> 'a array hash_fun
val opt : 'a hash_fun -> 'a option hash_fun
val pair : 'a hash_fun -> 'b hash_fun -> ('a * 'b) hash_fun
val triple : 'a hash_fun ->
'b hash_fun ->
'c hash_fun -> ('a * 'b * 'c) hash_fun
val if_ : bool -> 'a hash_fun -> 'a hash_fun -> 'a hash_fun
Decide which hash function to use depending on the boolean
Iterators
val seq : 'a hash_fun -> 'a CCHash.sequence hash_fun
val gen : 'a hash_fun -> 'a CCHash.gen hash_fun
val klist : 'a hash_fun -> 'a CCHash.klist hash_fun