Core_kernel.Source_code_positionThis module extends Base.Source_code_position.
include module type of struct include Base.Source_code_position endSee INRIA's OCaml documentation for a description of these fields.
sexp_of_t uses the form "FILE:LINE:COL", and does not have a corresponding of_sexp.
val sexp_of_t : t -> Base.Sexp.tval to_string : t -> stringto_string t converts t to the form "FILE:LINE:COL".
val of_pos : (string * int * int * int) -> tof_pos Caml.__POS__ is like [%here] but without using ppx.
include Comparable.S with type t := t and type comparator_witness := comparator_witnessinclude Base.Comparable.S with type t := t with type comparator_witness := comparator_witnessinclude 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 := t with type comparator_witness := comparator_witnessval comparator : (t, comparator_witness) Base.Comparator.comparatorval validate_lbound : min:t Base.Maybe_bound.t -> t Base.Validate.checkval validate_ubound : max:t Base.Maybe_bound.t -> t Base.Validate.checkval validate_bound : min:t Base.Maybe_bound.t -> max:t Base.Maybe_bound.t -> t Base.Validate.checkmodule Replace_polymorphic_compare : Base.Comparable.Polymorphic_compare with type t := tmodule Map : Map.S with type Key.t = t with type Key.comparator_witness = comparator_witnessmodule Set : Set.S with type Elt.t = t with type Elt.comparator_witness = comparator_witnessinclude Hashable.S with type t := tinclude Hashable.Common with type t := tval compare : t -> t -> Base.Int.tval hash_fold_t : Base.Hash.state -> t -> Base.Hash.stateval hash : t -> Base.Hash.hash_valueval hashable : t Hashtbl.Hashable.tmodule Hash_set : Hash_set.S with type elt = tmodule Hash_queue : Hash_queue.S with type key = tmodule Stable : sig ... end