Uopt_coretype 'a t = 'a Uopt.tinclude Sexplib0.Sexpable.S1 with type +'a t := 'a tval t_of_sexp : 'a. (Sexplib0.Sexp.t -> 'a) -> Sexplib0.Sexp.t -> 'a tval sexp_of_t : 'a. ('a -> Sexplib0.Sexp.t) -> 'a t -> Sexplib0.Sexp.tinclude Base.Invariant.S1 with type 'a t := 'a tval invariant : ('a -> unit) -> 'a t -> unitval none : _ t @@ portableval some : 'a -> 'a t @@ portableval value_exn : 'a t -> 'a @@ portableval value : 'a t -> default:'a -> 'a @@ portableval unsafe_value : 'a t -> 'a @@ portableIt is safe to call unsafe_value t iff is_some t.
val to_option : 'a t -> 'a Base.option @@ portableval of_option : 'a Base.option -> 'a t @@ portablemodule Optional_syntax : sig ... endmodule Local : sig ... endSame as their global equivalents.
include Core.Binable.S1 with type 'a t := 'a tval bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.tinclude sig ... endval bin_size_t : 'a. ('a, 'a t) Bin_prot.Size.sizer1val bin_write_t : 'a. ('a, 'a t) Bin_prot.Write.writer1val bin_read_t : 'a. ('a, 'a t) Bin_prot.Read.reader1val __bin_read_t__ : 'a. ('a, 'a t) Bin_prot.Read.vtag_reader1val bin_writer_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.writerval bin_reader_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.readerval bin_t : 'a. ('a, 'a t) Bin_prot.Type_class.S1.tmodule Stable : sig ... end