1MoreLabels.Hashtbl.MakeSeeded(3) OCaml libraryMoreLabels.Hashtbl.MakeSeeded(3)
2
3
4
6 MoreLabels.Hashtbl.MakeSeeded - no description
7
9 Module MoreLabels.Hashtbl.MakeSeeded
10
12 Module MakeSeeded
13 : functor (H : SeededHashedType) -> sig end
14
15
16
17
18 Parameters:
19
20 "H"
21
22 MoreLabels.Hashtbl.SeededHashedType
23
24
25
26
27
28
29
30 type key
31
32
33
34
35 type 'a t
36
37
38
39
40
41 val create : ?random:bool -> int -> 'a t
42
43
44
45
46 val clear : 'a t -> unit
47
48
49
50
51 val reset : 'a t -> unit
52
53
54
55
56 val copy : 'a t -> 'a t
57
58
59
60
61 val add : 'a t -> key:key -> data:'a -> unit
62
63
64
65
66 val remove : 'a t -> key -> unit
67
68
69
70
71 val find : 'a t -> key -> 'a
72
73
74
75
76 val find_opt : 'a t -> key -> 'a option
77
78
79
80
81 val find_all : 'a t -> key -> 'a list
82
83
84
85
86 val replace : 'a t -> key:key -> data:'a -> unit
87
88
89
90
91 val mem : 'a t -> key -> bool
92
93
94
95
96 val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
97
98
99
100
101 val filter_map_inplace : f:(key:key -> data:'a -> 'a option) -> 'a t ->
102 unit
103
104
105
106
107 val fold : f:(key:key -> data:'a -> 'b -> 'b) -> 'a t -> init:'b -> 'b
108
109
110
111
112 val length : 'a t -> int
113
114
115
116
117 val stats : 'a t -> MoreLabels.Hashtbl.statistics
118
119
120
121
122 val to_seq : 'a t -> (key * 'a) Seq.t
123
124
125
126
127 val to_seq_keys : 'a t -> key Seq.t
128
129
130
131
132 val to_seq_values : 'a t -> 'a Seq.t
133
134
135
136
137 val add_seq : 'a t -> (key * 'a) Seq.t -> unit
138
139
140
141
142 val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
143
144
145
146
147 val of_seq : (key * 'a) Seq.t -> 'a t
148
149
150
151
152
153
154OCamldoc 2020-09-01 MoreLabels.Hashtbl.MakeSeeded(3)