Batteries_uni.Option

`sig
type 'a t = 'a option
val may : ('a -> unit) -> 'a option -> unit
val map : ('a -> 'b) -> 'a option -> 'b option
val bind : ('a -> 'b option) -> 'a option -> 'b option
val default : 'a -> 'a option -> 'a
val map_default : ('a -> 'b) -> 'b -> 'a option -> 'b
val is_none : 'a option -> bool
val is_some : 'a option -> bool
val get : 'a option -> 'a
val get_exn : 'a option -> exn -> 'a
val compare : ?cmp:('a -> 'a -> int) -> 'a option -> 'a option -> int
val eq : ?eq:('a -> 'a -> bool) -> 'a option -> 'a option -> bool
val enum : 'a option -> 'a BatEnum.t
val of_enum : 'a BatEnum.t -> 'a option
exception No_value
module Monad :
sig
type 'a m = 'a option
val return : 'a -> 'a m
val bind : 'a m -> ('a -> 'b m) -> 'b m
end
val print :
('a BatInnerIO.output -> 'b -> unit) ->
'a BatInnerIO.output -> 'b t -> unit
val t_printer : 'a BatValue_printer.t -> 'a t BatValue_printer.t
val maybe_printer : 'a BatValue_printer.t -> 'a t BatValue_printer.t
module Labels :
sig
val may : f:('a -> unit) -> 'a option -> unit
val map : f:('a -> 'b) -> 'a option -> 'b option
val map_default : f:('a -> 'b) -> 'b -> 'a option -> 'b
end
end`