1Hashtbl.SeededS(3) OCamldoc Hashtbl.SeededS(3)
2
3
4
6 Hashtbl.SeededS - The output signature of the functor Hashtbl.Make‐
7 Seeded.
8
10 Module type Hashtbl.SeededS
11
13 Module type SeededS
14 = sig end
15
16
17 The output signature of the functor Hashtbl.MakeSeeded .
18
19
20 Since 4.00.0
21
22
23
24
25
26 type key
27
28
29
30
31 type 'a t
32
33
34
35
36
37 val create : ?random:bool -> int -> 'a t
38
39
40
41
42 val clear : 'a t -> unit
43
44
45
46
47 val reset : 'a t -> unit
48
49
50
51
52 val copy : 'a t -> 'a t
53
54
55
56
57 val add : 'a t -> key -> 'a -> unit
58
59
60
61
62 val remove : 'a t -> key -> unit
63
64
65
66
67 val find : 'a t -> key -> 'a
68
69
70
71
72 val find_opt : 'a t -> key -> 'a option
73
74 Since 4.05.0
75
76
77
78 val find_all : 'a t -> key -> 'a list
79
80
81
82
83 val replace : 'a t -> key -> 'a -> unit
84
85
86
87
88 val mem : 'a t -> key -> bool
89
90
91
92
93 val iter : (key -> 'a -> unit) -> 'a t -> unit
94
95
96
97
98 val filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unit
99
100 Since 4.03.0
101
102
103
104 val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
105
106
107
108
109 val length : 'a t -> int
110
111
112
113
114 val stats : 'a t -> Hashtbl.statistics
115
116
117
118
119
120
1212018-04-14 source: Hashtbl.SeededS(3)