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

NAME

6       MoreLabels.Hashtbl - no description
7

Module

9       Module   MoreLabels.Hashtbl
10

Documentation

12       Module Hashtbl
13        : sig end
14
15
16
17
18
19
20
21       type ('a, 'b) t = ('a, 'b) Hashtbl.t
22
23
24
25
26
27       val create : int -> ('a, 'b) t
28
29
30
31
32       val clear : ('a, 'b) t -> unit
33
34
35
36
37       val add : ('a, 'b) t -> key:'a -> data:'b -> unit
38
39
40
41
42       val copy : ('a, 'b) t -> ('a, 'b) t
43
44
45
46
47       val find : ('a, 'b) t -> 'a -> 'b
48
49
50
51
52       val find_all : ('a, 'b) t -> 'a -> 'b list
53
54
55
56
57       val mem : ('a, 'b) t -> 'a -> bool
58
59
60
61
62       val remove : ('a, 'b) t -> 'a -> unit
63
64
65
66
67       val replace : ('a, 'b) t -> key:'a -> data:'b -> unit
68
69
70
71
72       val iter : f:(key:'a -> data:'b -> unit) -> ('a, 'b) t -> unit
73
74
75
76
77       val  fold  : f:(key:'a -> data:'b -> 'c -> 'c) -> ('a, 'b) t -> init:'c
78       -> 'c
79
80
81
82
83       val length : ('a, 'b) t -> int
84
85
86
87       module type HashedType = Hashtbl.HashedType
88
89
90
91
92       module type S = sig end
93
94
95
96
97       module Make : functor (H : HashedType) -> sig end
98
99
100
101
102
103       val hash : 'a -> int
104
105
106
107
108       val hash_param : int -> int -> 'a -> int
109
110
111
112
113
114
115OCamldoc                          2017-03-22             MoreLabels.Hashtbl(3)
Impressum