1MoreLabels.Hashtbl.SeededS(3)    OCaml library   MoreLabels.Hashtbl.SeededS(3)
2
3
4

NAME

6       MoreLabels.Hashtbl.SeededS  - The output signature of the functor More‐
7       Labels.Hashtbl.MakeSeeded.
8

Module type

10       Module type   MoreLabels.Hashtbl.SeededS
11

Documentation

13       Module type SeededS
14        = sig end
15
16
17       The output signature of the functor MoreLabels.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:key -> data:'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:key -> data:'a -> unit
84
85
86
87
88       val mem : 'a t -> key -> bool
89
90
91
92
93       val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
94
95
96
97
98       val filter_map_inplace : f:(key:key -> data:'a -> 'a option) -> 'a t ->
99       unit
100
101       Since 4.03.0
102
103
104
105       val fold : f:(key:key -> data:'a -> 'b -> 'b) -> 'a t -> init:'b -> 'b
106
107
108
109
110       val length : 'a t -> int
111
112
113
114
115       val stats : 'a t -> MoreLabels.Hashtbl.statistics
116
117
118
119
120       val to_seq : 'a t -> (key * 'a) Seq.t
121
122       Since 4.07
123
124
125
126       val to_seq_keys : 'a t -> key Seq.t
127
128       Since 4.07
129
130
131
132       val to_seq_values : 'a t -> 'a Seq.t
133
134       Since 4.07
135
136
137
138       val add_seq : 'a t -> (key * 'a) Seq.t -> unit
139
140       Since 4.07
141
142
143
144       val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
145
146       Since 4.07
147
148
149
150       val of_seq : (key * 'a) Seq.t -> 'a t
151
152       Since 4.07
153
154
155
156
157
158OCamldoc                          2021-07-22     MoreLabels.Hashtbl.SeededS(3)
Impressum