Module Mina_graphql.Option
include module type of struct include Core.Option end
type !'a t = 'a Base.Option.tval bin_shape_t : Bin_prot.Shape.t -> Bin_prot.Shape.tval bin_size_t : ( 'a, 'a t ) Bin_prot.Size.sizer1val bin_write_t : ( 'a, 'a t ) Bin_prot.Write.writer1val bin_read_t : ( 'a, 'a t ) Bin_prot.Read.reader1val __bin_read_t__ : ( 'a, int -> 'a t ) Bin_prot.Read.reader1val bin_writer_t : ( 'a, 'a t ) Bin_prot.Type_class.S1.writerval bin_reader_t : ( 'a, 'a t ) Bin_prot.Type_class.S1.readerval bin_t : ( 'a, 'a t ) Bin_prot.Type_class.S1.tval typerep_of_t :
'a Typerep_lib.Std_internal.Typerep.t ->
'a t Typerep_lib.Std_internal.Typerep.tval typename_of_t : 'a Typerep_lib.Typename.t -> 'a t Typerep_lib.Typename.tval compare : ( 'a -> 'a -> int ) -> 'a option -> 'a option -> intval hash_fold_t :
( Base__.Ppx_hash_lib.Std.Hash.state ->
'a ->
Base__.Ppx_hash_lib.Std.Hash.state ) ->
Base__.Ppx_hash_lib.Std.Hash.state ->
'a option ->
Base__.Ppx_hash_lib.Std.Hash.stateval t_of_sexp : ( Sexplib0__.Sexp.t -> 'a ) -> Sexplib0__.Sexp.t -> 'a optionval sexp_of_t : ( 'a -> Sexplib0__.Sexp.t ) -> 'a option -> Sexplib0__.Sexp.tval t_sexp_grammar : Base__.Ppx_sexp_conv_lib.Sexp.Private.Raw_grammar.tval mem : 'a option -> 'a -> equal:( 'a -> 'a -> bool ) -> boolval length : 'a option -> intval is_empty : 'a option -> boolval iter : 'a option -> f:( 'a -> unit ) -> unitval fold : 'a option -> init:'accum -> f:( 'accum -> 'a -> 'accum ) -> 'accumval fold_result :
'a option ->
init:'accum ->
f:( 'accum -> 'a -> ( 'accum, 'e ) Base__.Result.t ) ->
( 'accum, 'e ) Base__.Result.tval fold_until :
'a option ->
init:'accum ->
f:
( 'accum ->
'a ->
( 'accum, 'final ) Base__Container_intf.Continue_or_stop.t ) ->
finish:( 'accum -> 'final ) ->
'finalval exists : 'a option -> f:( 'a -> bool ) -> boolval for_all : 'a option -> f:( 'a -> bool ) -> boolval count : 'a option -> f:( 'a -> bool ) -> intval sum :
(module Base__Container_intf.Summable with type t = 'sum) ->
'a option ->
f:( 'a -> 'sum ) ->
'sumval find : 'a option -> f:( 'a -> bool ) -> 'a optionval find_map : 'a option -> f:( 'a -> 'b option ) -> 'b optionval to_list : 'a option -> 'a listval to_array : 'a option -> 'a arrayval min_elt : 'a option -> compare:( 'a -> 'a -> int ) -> 'a optionval max_elt : 'a option -> compare:( 'a -> 'a -> int ) -> 'a optionval equal : 'a Base__Equal.equal -> 'a option Base__Equal.equalval invariant :
'a Base__Invariant_intf.inv ->
'a option Base__Invariant_intf.invval (>>=) : 'a option -> ( 'a -> 'b option ) -> 'b optionval (>>|) : 'a option -> ( 'a -> 'b ) -> 'b optionmodule Monad_infix = Base__Option.Monad_infixval bind : 'a option -> f:( 'a -> 'b option ) -> 'b optionval return : 'a -> 'a optionval map : 'a option -> f:( 'a -> 'b ) -> 'b optionval join : 'a option option -> 'a optionval ignore_m : 'a option -> unit optionval all : 'a option list -> 'a list optionval all_unit : unit option list -> unit optionmodule Let_syntax = Base__Option.Let_syntaxval is_none : 'a option -> boolval is_some : 'a option -> boolval value_map : 'a option -> default:'b -> f:( 'a -> 'b ) -> 'bval map2 : 'a option -> 'b option -> f:( 'a -> 'b -> 'c ) -> 'c optionval call : 'a -> f:( 'a -> unit ) option -> unitval value : 'a option -> default:'a -> 'aval value_exn :
?here:Base__.Source_code_position0.t ->
?error:Base__.Error.t ->
?message:string ->
'a option ->
'aval some : 'a -> 'a optionval both : 'a option -> 'b option -> ('a * 'b) optionval first_some : 'a option -> 'a option -> 'a optionval some_if : bool -> 'a -> 'a optionval merge : 'a option -> 'a option -> f:( 'a -> 'a -> 'a ) -> 'a optionval filter : 'a option -> f:( 'a -> bool ) -> 'a optionval try_with : ( unit -> 'a ) -> 'a optionval try_with_join : ( unit -> 'a option ) -> 'a optionval validate :
none:unit Base__.Validate.check ->
some:'a Base__.Validate.check ->
'a option Base__.Validate.checktype 'cmp comparator_witness = 'cmp Core_kernel__Option.comparator_witnessval comparator :
( 'a, 'cmp ) Core_kernel__Comparator.comparator ->
( 'a t, 'cmp comparator_witness ) Core_kernel__Comparator.comparatorval quickcheck_generator :
'a Base_quickcheck.Generator.t ->
'a t Base_quickcheck.Generator.tval quickcheck_observer :
'a Base_quickcheck.Observer.t ->
'a t Base_quickcheck.Observer.tval quickcheck_shrinker :
'a Base_quickcheck.Shrinker.t ->
'a t Base_quickcheck.Shrinker.tmodule Stable = Core_kernel__Option.Stablemodule Optional_syntax = Core_kernel__Option.Optional_syntax