1MoreLabels.Map.S(3)              OCaml library             MoreLabels.Map.S(3)
2
3
4

NAME

6       MoreLabels.Map.S - no description
7

Module type

9       Module type   MoreLabels.Map.S
10

Documentation

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 empty : 'a t
33
34
35
36
37       val is_empty : 'a t -> bool
38
39
40
41
42       val add : key:key -> data:'a -> 'a t -> 'a t
43
44
45
46
47       val find : key -> 'a t -> 'a
48
49
50
51
52       val remove : key -> 'a t -> 'a t
53
54
55
56
57       val mem : key -> 'a t -> bool
58
59
60
61
62       val iter : f:(key:key -> data:'a -> unit) -> 'a t -> unit
63
64
65
66
67       val map : f:('a -> 'b) -> 'a t -> 'b t
68
69
70
71
72       val mapi : f:(key -> 'a -> 'b) -> 'a t -> 'b t
73
74
75
76
77       val fold : f:(key:key -> data:'a -> 'b -> 'b) -> 'a t -> init:'b -> 'b
78
79
80
81
82       val compare : cmp:('a -> 'a -> int) -> 'a t -> 'a t -> int
83
84
85
86
87       val equal : cmp:('a -> 'a -> bool) -> 'a t -> 'a t -> bool
88
89
90
91
92
93
94OCamldoc                          2017-03-22               MoreLabels.Map.S(3)
Impressum