Module Base.Export
val compare_array : a. ('a -> 'a -> int) -> 'a array -> 'a array -> intval equal_array : a. ('a -> 'a -> bool) -> 'a array -> 'a array -> boolval array_of_sexp : a. (Sexp.t -> 'a) -> Sexp.t -> 'a arrayval sexp_of_array : a. ('a -> Sexp.t) -> 'a array -> Sexp.t
val compare_bool : bool -> bool -> intval equal_bool : bool -> bool -> boolval hash_fold_bool : Hash.state -> bool -> Hash.stateval hash_bool : bool -> Hash.hash_valueval bool_of_sexp : Sexp.t -> boolval sexp_of_bool : bool -> Sexp.t
val compare_char : char -> char -> intval equal_char : char -> char -> boolval hash_fold_char : Hash.state -> char -> Hash.stateval hash_char : char -> Hash.hash_valueval char_of_sexp : Sexp.t -> charval sexp_of_char : char -> Sexp.t
val compare_float : float -> float -> intval equal_float : float -> float -> boolval hash_fold_float : Hash.state -> float -> Hash.stateval hash_float : float -> Hash.hash_valueval float_of_sexp : Sexp.t -> floatval sexp_of_float : float -> Sexp.t
val compare_int : int -> int -> intval equal_int : int -> int -> boolval hash_fold_int : Hash.state -> int -> Hash.stateval hash_int : int -> Hash.hash_valueval int_of_sexp : Sexp.t -> intval sexp_of_int : int -> Sexp.t
val compare_int32 : int32 -> int32 -> intval equal_int32 : int32 -> int32 -> boolval hash_fold_int32 : Hash.state -> int32 -> Hash.stateval hash_int32 : int32 -> Hash.hash_valueval int32_of_sexp : Sexp.t -> int32val sexp_of_int32 : int32 -> Sexp.t
val compare_int64 : int64 -> int64 -> intval equal_int64 : int64 -> int64 -> boolval hash_fold_int64 : Hash.state -> int64 -> Hash.stateval hash_int64 : int64 -> Hash.hash_valueval int64_of_sexp : Sexp.t -> int64val sexp_of_int64 : int64 -> Sexp.t
val compare_list : a. ('a -> 'a -> int) -> 'a list -> 'a list -> intval equal_list : a. ('a -> 'a -> bool) -> 'a list -> 'a list -> boolval hash_fold_list : a. (Hash.state -> 'a -> Hash.state) -> Hash.state -> 'a list -> Hash.stateval list_of_sexp : a. (Sexp.t -> 'a) -> Sexp.t -> 'a listval sexp_of_list : a. ('a -> Sexp.t) -> 'a list -> Sexp.t
val compare_nativeint : nativeint -> nativeint -> intval equal_nativeint : nativeint -> nativeint -> boolval hash_fold_nativeint : Hash.state -> nativeint -> Hash.stateval hash_nativeint : nativeint -> Hash.hash_valueval nativeint_of_sexp : Sexp.t -> nativeintval sexp_of_nativeint : nativeint -> Sexp.t
val compare_option : a. ('a -> 'a -> int) -> 'a option -> 'a option -> intval equal_option : a. ('a -> 'a -> bool) -> 'a option -> 'a option -> boolval hash_fold_option : a. (Hash.state -> 'a -> Hash.state) -> Hash.state -> 'a option -> Hash.stateval option_of_sexp : a. (Sexp.t -> 'a) -> Sexp.t -> 'a optionval sexp_of_option : a. ('a -> Sexp.t) -> 'a option -> Sexp.t
type 'a ref= 'a Stdlib.ref
val compare_ref : a. ('a -> 'a -> int) -> 'a ref -> 'a ref -> intval equal_ref : a. ('a -> 'a -> bool) -> 'a ref -> 'a ref -> boolval ref_of_sexp : a. (Sexp.t -> 'a) -> Sexp.t -> 'a refval sexp_of_ref : a. ('a -> Sexp.t) -> 'a ref -> Sexp.t
val compare_string : string -> string -> intval equal_string : string -> string -> boolval hash_fold_string : Hash.state -> string -> Hash.stateval hash_string : string -> Hash.hash_valueval string_of_sexp : Sexp.t -> stringval sexp_of_string : string -> Sexp.t
val compare_bytes : bytes -> bytes -> intval equal_bytes : bytes -> bytes -> boolval bytes_of_sexp : Sexp.t -> bytesval sexp_of_bytes : bytes -> Sexp.t
val compare_unit : unit -> unit -> intval equal_unit : unit -> unit -> boolval hash_fold_unit : Hash.state -> unit -> Hash.stateval hash_unit : unit -> Hash.hash_valueval unit_of_sexp : Sexp.t -> unitval sexp_of_unit : unit -> Sexp.t
type nonrec ('a, 'b, 'c) format= ('a, 'b, 'c) Stdlib.formattype nonrec ('a, 'b, 'c, 'd) format4= ('a, 'b, 'c, 'd) Stdlib.format4type nonrec ('a, 'b, 'c, 'd, 'e, 'f) format6= ('a, 'b, 'c, 'd, 'e, 'f) Stdlib.format6
Sexp
Exporting 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_opaque= 'atype 'a sexp_option= 'a option
include List.Infix
include Int.O
val (+) : int -> int -> intval (-) : int -> int -> intval (*) : int -> int -> intval (/) : int -> int -> intval (~-) : int -> intval (**) : int -> int -> intval (>=) : int -> int -> boolval (<=) : int -> int -> boolval (=) : int -> int -> boolval (>) : int -> int -> boolval (<) : int -> int -> boolval (<>) : int -> int -> boolval abs : int -> intval neg : int -> intval zero : intval (%) : int -> int -> intval (/%) : int -> int -> intval (//) : int -> int -> floatval (land) : int -> int -> intval (lor) : int -> int -> intval (lxor) : int -> int -> intval (lnot) : int -> intval (lsl) : int -> int -> intval (asr) : int -> int -> intval (lsr) : int -> int -> int
include Base__.Import.Int_replace_polymorphic_compare
val (<) : int -> int -> boolval (<=) : int -> int -> boolval (<>) : int -> int -> boolval (=) : int -> int -> boolval (>) : int -> int -> boolval (>=) : int -> int -> boolval compare : int -> int -> intval ascending : int -> int -> intval descending : int -> int -> intval equal : int -> int -> boolval max : int -> int -> intval min : int -> int -> int
include Float.O_dot
val (|>) : 'a -> ('a -> 'b) -> 'bReverse application operator.
x |> g |> fis equivalent tof (g (x)).
val (&&) : bool -> bool -> boolval (||) : bool -> bool -> boolval not : bool -> boolval ignore : _ -> unit
val raise : exn -> _
val failwith : string -> 'aval invalid_arg : string -> 'aval raise_s : Sexp.t -> 'a