Module Overrides_interval_tree.Interval

Interval contains an interval tree entry's range and payload.

type 'a t
val create : loc:Ocaml_parsing.Location.t -> payload:'a -> ('a t, string) result

low and high are included in the range. Returns Error if low > high