Module Incremental__Import.Uopt
include Uopt
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
val none : _ t
val some : 'a -> 'a t
val is_none : _ t -> bool
val is_some : _ t -> bool
val value_exn : 'a t -> 'a
val unsafe_value : 'a t -> 'a
It is safe to call
unsafe_value t
iffis_some t
.
module Optional_syntax = Uopt.Optional_syntax
val unsafe_value : 'a t -> 'a