We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ba8897 commit d194a44Copy full SHA for d194a44
src/elpi_API.mli
@@ -36,6 +36,7 @@ module Ast : sig
36
val pp : Format.formatter -> t -> unit
37
val show : t -> string
38
val equal : t -> t -> bool
39
+ val compare : t -> t -> int
40
41
val initial : string -> t
42
end
src/elpi_util.ml
@@ -95,7 +95,7 @@ module Loc = struct
95
line: int;
96
line_starts_at: int;
97
}
98
- [@@deriving eq]
+ [@@deriving eq, ord]
99
100
let to_string {
101
source_name;
src/elpi_util.mli
@@ -73,6 +73,7 @@ module Loc : sig
73
74
75
76
77
78
79
0 commit comments