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

NAME

6       Ephemeron.SeededS    -   The   output   signature   of   the   functors
7       Ephemeron.K1.MakeSeeded and Ephemeron.K2.MakeSeeded.
8

Module type

10       Module type   Ephemeron.SeededS
11

Documentation

13       Module type SeededS
14        = sig end
15
16
17       The  output  signature  of  the  functors  Ephemeron.K1.MakeSeeded  and
18       Ephemeron.K2.MakeSeeded .
19
20
21
22
23
24       type key
25
26
27
28
29       type 'a t
30
31
32
33
34
35       val create : ?random:bool -> int -> 'a t
36
37
38
39
40       val clear : 'a t -> unit
41
42
43
44
45       val reset : 'a t -> unit
46
47
48
49
50       val copy : 'a t -> 'a t
51
52
53
54
55       val add : 'a t -> key -> 'a -> unit
56
57
58
59
60       val remove : 'a t -> key -> unit
61
62
63
64
65       val find : 'a t -> key -> 'a
66
67
68
69
70       val find_opt : 'a t -> key -> 'a option
71
72
73
74
75       val find_all : 'a t -> key -> 'a list
76
77
78
79
80       val replace : 'a t -> key -> 'a -> unit
81
82
83
84
85       val mem : 'a t -> key -> bool
86
87
88
89
90       val iter : (key -> 'a -> unit) -> 'a t -> unit
91
92
93
94
95       val filter_map_inplace : (key -> 'a -> 'a option) -> 'a t -> unit
96
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
113
114
115       val to_seq : 'a t -> (key * 'a) Seq.t
116
117
118
119
120       val to_seq_keys : 'a t -> key Seq.t
121
122
123
124
125       val to_seq_values : 'a t -> 'a Seq.t
126
127
128
129
130       val add_seq : 'a t -> (key * 'a) Seq.t -> unit
131
132
133
134
135       val replace_seq : 'a t -> (key * 'a) Seq.t -> unit
136
137
138
139
140       val of_seq : (key * 'a) Seq.t -> 'a t
141
142
143
144
145       val clean : 'a t -> unit
146
147       remove all dead bindings. Done automatically during automatic resizing.
148
149
150
151       val stats_alive : 'a t -> Hashtbl.statistics
152
153       same as Hashtbl.SeededS.stats but only count the alive bindings
154
155
156
157
158
159OCamldoc                          2022-07-22              Ephemeron.SeededS(3)
Impressum