Base.Exportinclude module type of struct include Sexp.Private.Raw_grammar.Builtin endval lazy_t_sexp_grammar : Sexp.Private.Raw_grammar.ttype 'a array = 'a Array.tval array_sexp_grammar : Sexp.Private.Raw_grammar.ttype bool = Bool.tval hash_fold_bool : Hash.state -> bool -> Hash.stateval hash_bool : bool -> Hash.hash_valueval bool_sexp_grammar : Sexp.Private.Raw_grammar.ttype char = Char.tval hash_fold_char : Hash.state -> char -> Hash.stateval hash_char : char -> Hash.hash_valueval char_sexp_grammar : Sexp.Private.Raw_grammar.ttype exn = Exn.ttype float = Float.tval hash_fold_float : Hash.state -> float -> Hash.stateval hash_float : float -> Hash.hash_valueval float_sexp_grammar : Sexp.Private.Raw_grammar.ttype int = Int.tval hash_fold_int : Hash.state -> int -> Hash.stateval hash_int : int -> Hash.hash_valueval int_sexp_grammar : Sexp.Private.Raw_grammar.ttype int32 = Int32.tval hash_fold_int32 : Hash.state -> int32 -> Hash.stateval hash_int32 : int32 -> Hash.hash_valueval int32_sexp_grammar : Sexp.Private.Raw_grammar.ttype int64 = Int64.tval hash_fold_int64 : Hash.state -> int64 -> Hash.stateval hash_int64 : int64 -> Hash.hash_valueval int64_sexp_grammar : Sexp.Private.Raw_grammar.ttype 'a list = 'a List.tval hash_fold_list : a. (Hash.state -> 'a -> Hash.state) -> Hash.state -> 'a list -> Hash.stateval list_sexp_grammar : Sexp.Private.Raw_grammar.ttype nativeint = Nativeint.tval hash_fold_nativeint : Hash.state -> nativeint -> Hash.stateval hash_nativeint : nativeint -> Hash.hash_valueval nativeint_sexp_grammar : Sexp.Private.Raw_grammar.ttype 'a option = 'a Option.tval hash_fold_option : a. (Hash.state -> 'a -> Hash.state) -> Hash.state -> 'a option -> Hash.stateval option_sexp_grammar : Sexp.Private.Raw_grammar.ttype 'a ref = 'a Ref.tval ref_sexp_grammar : Sexp.Private.Raw_grammar.ttype string = String.tval hash_fold_string : Hash.state -> string -> Hash.stateval hash_string : string -> Hash.hash_valueval string_sexp_grammar : Sexp.Private.Raw_grammar.ttype bytes = Bytes.tval bytes_sexp_grammar : Sexp.Private.Raw_grammar.ttype unit = Unit.tval hash_fold_unit : Hash.state -> unit -> Hash.stateval hash_unit : unit -> Hash.hash_valueval unit_sexp_grammar : Sexp.Private.Raw_grammar.tFormat stuff
type nonrec ('a, 'b, 'c) format = ('a, 'b, 'c) formattype nonrec ('a, 'b, 'c, 'd) format4 = ('a, 'b, 'c, 'd) format4type nonrec ('a, 'b, 'c, 'd, 'e, 'f) format6 = ('a, 'b, 'c, 'd, 'e, 'f) format6Exporting the ad-hoc types that are recognized by ppx_sexp_* converters. sexp_array, sexp_list, and sexp_option allow a record field to be absent when converting from a sexp, and if absent, the field will take a default value of the appropriate type:
sexp_array [||]
sexp_bool false
sexp_list []
sexp_option Nonesexp_opaque causes the conversion to sexp to produce the atom <opaque>.
For more documentation, see sexplib/README.md.
type 'a sexp_array = 'a arraytype 'a sexp_list = 'a listtype 'a sexp_option = 'a optionList operators
include module type of struct include List.Infix endInt operators and comparisons
Float operators
include module type of struct include Float.O_dot endSimilar to O, except that operators are suffixed with a dot, allowing one to have both int and float operators in scope simultaneously.
Reverse application operator. x |> g |> f is equivalent to f (g (x)).
Boolean operations
val ignore : _ -> unitReference operations
val (!) : 'a ref -> 'aval ref : 'a -> 'a refPair operations
Exceptions stuff
val raise : exn -> _val raise_s : Sexp.t -> 'aMisc
val force : 'a Lazy.t -> 'a