1Hashtbl.S(3) OCaml library Hashtbl.S(3)
2
3
4
6 Hashtbl.S - The output signature of the functor Hashtbl.Make.
7
9 Module type Hashtbl.S
10
12 Module type S
13 = sig end
14
15
16 The output signature of the functor Hashtbl.Make .
17
18
19
20
21
22
23 type key
24
25
26
27
28 type 'a t
29
30
31
32
33
34 val create : int -> 'a t
35
36
37
38
39 val clear : 'a t -> unit
40
41
42
43
44 val copy : 'a t -> 'a t
45
46
47
48
49 val add : 'a t -> key -> 'a -> unit
50
51
52
53
54 val remove : 'a t -> key -> unit
55
56
57
58
59 val find : 'a t -> key -> 'a
60
61
62
63
64 val find_all : 'a t -> key -> 'a list
65
66
67
68
69 val replace : 'a t -> key -> 'a -> unit
70
71
72
73
74 val mem : 'a t -> key -> bool
75
76
77
78
79 val iter : (key -> 'a -> unit) -> 'a t -> unit
80
81
82
83
84 val fold : (key -> 'a -> 'b -> 'b) -> 'a t -> 'b -> 'b
85
86
87
88
89 val length : 'a t -> int
90
91
92
93
94
95
96OCamldoc 2007-05-24 Hashtbl.S(3)