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

NAME

6       Hashtbl.SeededS  -  The  output  signature of the functor Hashtbl.Make‐
7       Seeded.
8

Module type

10       Module type   Hashtbl.SeededS
11

Documentation

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       val to_seq : 'a t -> (key * 'a) Seq.t
120
121       Since 4.07
122
123
124
125       val to_seq_keys : 'a t -> key Seq.t
126
127       Since 4.07
128
129
130
131       val to_seq_values : 'a t -> 'a Seq.t
132
133       Since 4.07
134
135
136
137       val add_seq : 'a t -> (key * 'a) Seq.t -> unit
138
139       Since 4.07
140
141
142
143       val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
144
145       Since 4.07
146
147
148
149       val of_seq : (key * 'a) Seq.t -> 'a t
150
151       Since 4.07
152
153
154
155
156
157OCamldoc                          2021-01-26                Hashtbl.SeededS(3)
Impressum