A 'a Set_once.t is like an 'a option ref that can only be set once. A
Set_once.t starts out as None, the first set transitions it to Some, and
subsequent sets fail.
include sig ... endval sexp_of_t : ('a ‑> Sexplib.Sexp.t) ‑> 'a t ‑> Sexplib.Sexp.tPasses when unset.
include Core_kernel__.Import.Invariant.S1 with type a t := a tval invariant : 'a Base__.Invariant_intf.inv ‑> 'a t Base__.Invariant_intf.invval create : Core_kernel__.Import.unit ‑> _ tval set : 'a t ‑> Source_code_position.t ‑> 'a ‑> Core_kernel__.Import.unit Or_error.tval set_exn : 'a t ‑> Source_code_position.t ‑> 'a ‑> Core_kernel__.Import.unitval get : 'a t ‑> 'a Core_kernel__.Import.optionval get_exn : 'a t ‑> Source_code_position.t ‑> 'aval is_none : _ t ‑> Core_kernel__.Import.boolval is_some : _ t ‑> Core_kernel__.Import.boolval iter : 'a t ‑> f:('a ‑> Core_kernel__.Import.unit) ‑> Core_kernel__.Import.unitmodule Optional_syntax : Optional_syntax.S1 with type a t := a t with type a value := a Core_kernel__.Import.identitymodule Unstable : sig ... endmodule Stable : sig ... end