Module Moption
A Moption
is a mutable option, like 'a option ref
, but with a more efficient implementation; in particular, set_some
does not allocate.
val sexp_of_t : ('a -> Ppx_sexp_conv_lib.Sexp.t) -> 'a t -> Ppx_sexp_conv_lib.Sexp.t
include Core_kernel.Invariant.S1 with type 'a t := 'a t
val invariant : 'a Base__.Invariant_intf.inv -> 'a t Base__.Invariant_intf.inv
module Optional_syntax : Core_kernel.Optional_syntax.S1 with type 'a t := 'a t with type 'a value := 'a