1Misc.Stdlib.Option(3) OCaml library Misc.Stdlib.Option(3)
2
3
4
6 Misc.Stdlib.Option - no description
7
9 Module Misc.Stdlib.Option
10
12 Module Option
13 : sig end
14
15
16
17
18
19
20
21 type 'a t = 'a option
22
23
24
25
26
27 val equal : ('a -> 'a -> bool) -> 'a t -> 'a t -> bool
28
29
30
31
32 val iter : ('a -> unit) -> 'a t -> unit
33
34
35
36
37 val map : ('a -> 'b) -> 'a t -> 'b t
38
39
40
41
42 val fold : ('a -> 'b -> 'b) -> 'a t -> 'b -> 'b
43
44
45
46
47 val value_default : ('a -> 'b) -> default:'b -> 'a t -> 'b
48
49
50
51
52
53
54OCamldoc 2019-02-02 Misc.Stdlib.Option(3)