1Tbl(3) OCaml library Tbl(3)
2
3
4
6 Tbl - no description
7
9 Module Tbl
10
12 Module Tbl
13 : sig end
14
15
16
17
18
19
20
21 type ('k, 'v) t
22
23
24
25
26
27 val empty : ('k, 'v) t
28
29
30
31
32 val add : 'k -> 'v -> ('k, 'v) t -> ('k, 'v) t
33
34
35
36
37 val find : 'k -> ('k, 'v) t -> 'v
38
39
40
41
42 val find_str : string -> (string, 'v) t -> 'v
43
44
45
46
47 val mem : 'k -> ('k, 'v) t -> bool
48
49
50
51
52 val remove : 'k -> ('k, 'v) t -> ('k, 'v) t
53
54
55
56
57 val iter : ('k -> 'v -> unit) -> ('k, 'v) t -> unit
58
59
60
61
62 val map : ('k -> 'v1 -> 'v2) -> ('k, 'v1) t -> ('k, 'v2) t
63
64
65
66
67 val fold : ('k -> 'v -> 'acc -> 'acc) -> ('k, 'v) t -> 'acc -> 'acc
68
69
70
71
72 val print : (Format.formatter -> 'k -> unit) -> (Format.formatter -> 'v
73 -> unit) -> Format.formatter -> ('k, 'v) t -> unit
74
75
76
77
78
79
80OCamldoc 2019-02-02 Tbl(3)