1MoreLabels.Hashtbl.S(3) OCaml library MoreLabels.Hashtbl.S(3)
2
3
4
6 MoreLabels.Hashtbl.S - no description
7
9 Module type MoreLabels.Hashtbl.S
10
12 Module type S
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 copy : 'a t -> 'a t
43
44
45
46
47 val add : 'a t -> key:key -> data:'a -> unit
48
49
50
51
52 val remove : 'a t -> key -> unit
53
54
55
56
57 val find : 'a t -> key -> 'a
58
59
60
61
62 val find_all : 'a t -> key -> 'a list
63
64
65
66
67 val replace : 'a t -> key:key -> data:'a -> unit
68
69
70
71
72 val mem : 'a t -> key -> bool
73
74
75
76
77 val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
78
79
80
81
82 val fold : f:(key:key -> data:'a -> 'b -> 'b) -> 'a t -> init:'b -> 'b
83
84
85
86
87 val length : 'a t -> int
88
89
90
91
92
93
94OCamldoc 2017-03-22 MoreLabels.Hashtbl.S(3)