Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pervasives -> Stdlib #446

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/backend/fontFormat.ml
Original file line number Diff line number Diff line change
Expand Up @@ -369,14 +369,14 @@ let per_mille ~(units_per_em : int) (w : design_units) : per_mille =
module GSet = Set.Make
(struct
type t = original_glyph_id
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


module GMap = Map.Make
(struct
type t = original_glyph_id
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down Expand Up @@ -1973,7 +1973,7 @@ module MathInfoMap = Map.Make
(struct
type t = original_glyph_id
let equal = (=)
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down
2 changes: 1 addition & 1 deletion src/backend/horzBox.ml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ let pp_math_variant_style =
module MathVariantCharMap = Map.Make
(struct
type t = Uchar.t * math_char_class
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down
4 changes: 2 additions & 2 deletions src/chardecoder/charBasis.ml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ type script =
module ScriptSchemeMap = Map.Make
(struct
type t = script
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


module ScriptSpaceMap = Map.Make
(struct
type t = script * script
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down
2 changes: 1 addition & 1 deletion src/frontend/evalVarID.ml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ let equal evid1 evid2 =


let compare evid1 evid2 =
Pervasives.compare evid1.number evid2.number
Stdlib.compare evid1.number evid2.number


let show_direct evid =
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/exhchecker.ml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ and expand_type =

module ElementSet = Set.Make(struct
type t = type_element
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down
2 changes: 1 addition & 1 deletion src/frontend/storeID.ml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let min_id_in_document = ref 0
let equal = (=)


let compare = Pervasives.compare
let compare = Stdlib.compare


let hash = Hashtbl.hash
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/typechecker.ml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ let rec is_nonexpansive_expression e =
module PatternVarMap = Map.Make
(struct
type t = var_name
let compare = Pervasives.compare
let compare = Stdlib.compare
end)


Expand Down