Kxclib.Optioninclude module type of struct include Option0 endinclude module type of struct include Stdlib.Option endval get : 'a t -> 'bval v : 'a -> 'b t -> 'cval v' : (unit -> 'a) -> 'b t -> 'cval or_raise : exn -> 'a t -> 'bval pp :
(Stdlib.Format.formatter -> 'a -> unit) ->
Stdlib.Format.formatter ->
'b t ->
unitval of_bool : bool -> unit tval some_if : bool -> 'a -> 'b tprotect ~capture f x returns Some (f x) except when
f x throws an exn s.t. capture exn = true, it returns Nonef x throws an exn s.t. capture exn = false, it rethrows exn~capture defaults to fun _exn -> true
try_make ~capture f is protect ~capture f (), thus see protect
~capture defaults to fun _exn -> true
module Ops_monad : sig ... endmodule Ops : sig ... end