Module Metal.Range

Represents a range with location and length. See NSRange.

type ns
val sexp_of_ns : ns -> Sexplib0.Sexp.t
type t = {
  1. location : int;
  2. length : int;
}
val sexp_of_t : t -> Sexplib0.Sexp.t
val from_struct : ns -> t
val make : location:int -> length:int -> ns
val to_value : t -> ns