1Misc.Stdlib.String.Tbl(3)        OCaml library       Misc.Stdlib.String.Tbl(3)
2
3
4

NAME

6       Misc.Stdlib.String.Tbl - no description
7

Module

9       Module   Misc.Stdlib.String.Tbl
10

Documentation

12       Module Tbl
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 : 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       Since 4.00.0
45
46
47
48       val copy : 'a t -> 'a t
49
50
51
52
53       val add : 'a t -> key -> 'a -> unit
54
55
56
57
58       val remove : 'a t -> key -> unit
59
60
61
62
63       val find : 'a t -> key -> 'a
64
65
66
67
68       val find_opt : 'a t -> key -> 'a option
69
70       Since 4.05.0
71
72
73
74       val find_all : 'a t -> key -> 'a list
75
76
77
78
79       val replace : 'a t -> key -> 'a -> unit
80
81
82
83
84       val mem : 'a t -> key -> bool
85
86
87
88
89       val iter : (key -> 'a -> unit) -> 'a t -> unit
90
91
92
93
94       val filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unit
95
96       Since 4.03.0
97
98
99
100       val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
101
102
103
104
105       val length : 'a t -> int
106
107
108
109
110       val stats : 'a t -> Hashtbl.statistics
111
112       Since 4.00.0
113
114
115
116       val to_seq : 'a t -> (key * 'a) Seq.t
117
118       Since 4.07
119
120
121
122       val to_seq_keys : 'a t -> key Seq.t
123
124       Since 4.07
125
126
127
128       val to_seq_values : 'a t -> 'a Seq.t
129
130       Since 4.07
131
132
133
134       val add_seq : 'a t -> (key * 'a) Seq.t -> unit
135
136       Since 4.07
137
138
139
140       val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
141
142       Since 4.07
143
144
145
146       val of_seq : (key * 'a) Seq.t -> 'a t
147
148       Since 4.07
149
150
151
152
153
154OCamldoc                          2019-07-30         Misc.Stdlib.String.Tbl(3)
Impressum