One_or_twoSimple container of one of two values of a given type.
module Stable : sig ... endval to_yojson : ( 'a -> Yojson.Safe.t ) -> 'a t -> Yojson.Safe.tval of_yojson :
( Yojson.Safe.t -> 'a Ppx_deriving_yojson_runtime.error_or ) ->
Yojson.Safe.t ->
'a t Ppx_deriving_yojson_runtime.error_orval hash_fold_t :
( Ppx_hash_lib.Std.Hash.state -> 'a -> Ppx_hash_lib.Std.Hash.state ) ->
Ppx_hash_lib.Std.Hash.state ->
'a t ->
Ppx_hash_lib.Std.Hash.stateval length : 'a t -> intval to_list : 'a t -> 'a listval to_numbered_list : 'a t -> (int * 'a) listval group_sequence : 'a Core_kernel.Sequence.t -> 'a t Core_kernel.Sequence.tval group_list : 'a list -> 'a t listval iter : 'a t -> f:( 'a -> unit ) -> unitval fold : 'a t -> init:'accum -> f:( 'accum -> 'a -> 'accum ) -> 'accumval fold_until :
init:'b ->
f:( 'b -> 'a -> ( 'b, 'final ) Core_kernel.Continue_or_stop.t ) ->
finish:( 'b -> 'final ) ->
'a t ->
'finalmodule Deferred_result : sig ... endmodule Deferred : sig ... endmodule Option : sig ... endmodule Or_error : sig ... endval gen :
'a Core_kernel.Quickcheck.Generator.t ->
'a t Core_kernel.Quickcheck.Generator.t