1Hashtbl.SeededHashedType(3) OCamldoc Hashtbl.SeededHashedType(3)
2
3
4
6 Hashtbl.SeededHashedType - The input signature of the functor
7 Hashtbl.MakeSeeded.
8
10 Module type Hashtbl.SeededHashedType
11
13 Module type SeededHashedType
14 = sig end
15
16
17 The input signature of the functor Hashtbl.MakeSeeded .
18
19
20 Since 4.00.0
21
22
23
24
25
26 type t
27
28
29 The type of the hashtable keys.
30
31
32
33 val equal : t -> t -> bool
34
35 The equality predicate used to compare keys.
36
37
38
39 val hash : int -> t -> int
40
41 A seeded hashing function on keys. The first argument is the seed. It
42 must be the case that if equal x y is true, then hash seed x = hash
43 seed y for any value of seed . A suitable choice for hash is the func‐
44 tion Hashtbl.seeded_hash below.
45
46
47
48
49
502018-04-14 source: Hashtbl.SeededHashedType(3)