Email_addressmodule Domain : sig ... endval sexp_of_t : t -> Sexplib0.Sexp.tval t_sexp_grammar : t Sexplib0.Sexp_grammar.t @@ portableinclude Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_compare_lib.Comparable.S__local with type t := tinclude Ppx_hash_lib.Hashable.S_any with type t := tinclude Ppx_quickcheck_runtime.Quickcheckable.S with type t := tval quickcheck_generator : t Base_quickcheck.Generator.tval quickcheck_observer : t Base_quickcheck.Observer.tval quickcheck_shrinker : t Base_quickcheck.Shrinker.tval of_string : ?default_domain:string -> string -> t Core.Or_error.tval of_string_exn : ?default_domain:string -> string -> tval list_of_string : ?default_domain:string -> string -> t list Core.Or_error.tval list_of_string_exn : ?default_domain:string -> string -> t listval to_string : t -> stringval to_string_utf8 : t -> stringval list_to_header_value : t list -> stringval local_part : t -> stringval address_part_string :
?brackets:bool ->
?lowercase_domain:bool ->
t ->
stringval set_address_part : t -> string -> t Core.Or_error.tset_address_part expects an email address without prefix or angle brackets e.g. USER@DOMAIN.
val prefix : t -> string optionset_prefix will remove angle brackets if given None, otherwise angle brackets are added before the given prefix.
val arg_type : t Core.Command.Arg_type.tinclude Core.Comparable.S_plain with type t := tinclude Base.Comparable.S with type t := tinclude Base.Comparisons.S with type t := tascending is identical to compare. descending x y = ascending y x. These are intended to be mnemonic when used like List.sort ~compare:ascending and List.sort ~cmp:descending, since they cause the list to be sorted in ascending or descending order, respectively.
clamp_exn t ~min ~max returns t', the closest value to t such that between t' ~low:min ~high:max is true.
Raises if not (min <= max).
val clamp : t -> min:t -> max:t -> t Base.Or_error.tinclude Base.Comparator.S with type t := tval comparator : (t, comparator_witness) Base.Comparator.T.comparatorval validate_lbound : min:t Core.Maybe_bound.t -> t Validate.checkval validate_ubound : max:t Core.Maybe_bound.t -> t Validate.checkval validate_bound :
min:t Core.Maybe_bound.t ->
max:t Core.Maybe_bound.t ->
t Validate.checkmodule Replace_polymorphic_compare :
Base.Comparable.Comparisons with type t := tmodule Map :
Core.Map.S_plain
with type Key.t = t
with type Key.comparator_witness = comparator_witnessmodule Set :
Core.Set.S_plain
with type Elt.t = t
with type Elt.comparator_witness = comparator_witnessinclude Core.Hashable.S_plain with type t := tinclude Ppx_compare_lib.Comparable.S with type t := tinclude Ppx_hash_lib.Hashable.S_any with type t := tval hash_fold_t : t Ppx_hash_lib.hash_foldval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval hashable : t Base.Hashable.tmodule Table : Core.Hashtbl.S_plain with type key = tmodule Hash_set : Core.Hash_set.S_plain with type elt = tmodule Hash_queue : Core.Hash_queue.S with type key = tmodule Caseless : sig ... endmodule For_test : sig ... endmodule Expert : sig ... endmodule Stable : sig ... end