Skip to content
Snippets Groups Projects
Commit a8693394 authored by Pierre Loic Garoche's avatar Pierre Loic Garoche
Browse files

Removed deprecated Pervasives module

parent 95d13330
No related branches found
No related tags found
No related merge requests found
...@@ -174,7 +174,7 @@ let rec factors_constant fs = ...@@ -174,7 +174,7 @@ let rec factors_constant fs =
let norm_factors fs = let norm_factors fs =
let k = factors_constant fs in let k = factors_constant fs in
let nk = List.filter (fun d -> not (is_dimension_const d)) fs in let nk = List.filter (fun d -> not (is_dimension_const d)) fs in
(k, List.sort Pervasives.compare nk) (k, List.sort compare nk)
let rec terms dim = let rec terms dim =
match dim.dim_desc with match dim.dim_desc with
......
...@@ -257,7 +257,7 @@ let pp_final_char_if_non_empty c l = ...@@ -257,7 +257,7 @@ let pp_final_char_if_non_empty c l =
let pp_newline_if_non_empty l = let pp_newline_if_non_empty l =
(fun fmt -> match l with [] -> () | _ -> Format.fprintf fmt "@,") (fun fmt -> match l with [] -> () | _ -> Format.fprintf fmt "@,")
let fprintf_list ?(eol:('a, formatter, unit) Pervasives.format = "") ~sep:sep f fmt l = let fprintf_list ?(eol:('a, formatter, unit) format = "") ~sep:sep f fmt l =
let rec aux fmt = function let rec aux fmt = function
| [] -> () | [] -> ()
| [e] -> f fmt e | [e] -> f fmt e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment