Module Kappa_data_structures.Option_util
Utilities on option
val map : ('a -> 'b) -> 'a option -> 'b option
val fold : ('a -> 'b -> 'a) -> 'a -> 'b option -> 'a
val bind : ('a -> 'b option) -> 'a option -> 'b option
val unsome : 'a -> 'a option -> 'a
val unsome_or_raise : ?excep:exn -> 'a option -> 'a
val equal : ('a -> 'a -> bool) -> 'a option -> 'a option -> bool