tracks/ocaml/exercises/prime-factors/example.ml in trackler-2.2.1.137 vs tracks/ocaml/exercises/prime-factors/example.ml in trackler-2.2.1.138
- old
+ new
@@ -18,6 +18,6 @@
res := Some (List.concat [factors_of' i'; factors_of' m]));
i := (i' - 1L);
done;
Option.value ~default:[n] !res
-let factors_of n = List.sort ~cmp:Int64.compare (factors_of' n)
+let factors_of n = List.sort ~compare:Int64.compare (factors_of' n)