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