Skip to content

Commit bdb1c35

Browse files
committed
s/Pervasives/Stdlib/ churn
1 parent 91384b3 commit bdb1c35

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

action.ml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -290,14 +290,14 @@ let io_copy input output =
290290

291291
let io_null = IO.create_out ~write:(fun _ -> ()) ~output:(fun _ _ len -> len) ~flush:id ~close:id
292292

293-
let compare_by f a b = Pervasives.compare (f a) (f b)
293+
let compare_by f a b = Stdlib.compare (f a) (f b)
294294
let compare2 f g (a,b) (a',b') =
295295
match f a a' with
296296
| 0 -> g b b'
297297
| x -> x
298298
let compare2_by f g (a,b) (a',b') =
299-
match Pervasives.compare (f a) (f a') with
300-
| 0 -> Pervasives.compare (g b) (g b')
299+
match Stdlib.compare (f a) (f a') with
300+
| 0 -> Stdlib.compare (g b) (g b')
301301
| x -> x
302302
let compare_fst f (a,_) (a',_) = f a a'
303303

action.mli

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ val chunk_e : int -> 'a Enum.t -> 'a Enum.t Enum.t
4242

4343
(**
4444
find the minimum element in the list
45-
@param cmp compare function, default [Pervasives.compare]
45+
@param cmp compare function, default [Stdlib.compare]
4646
@raise Empty_list when list is empty
4747
*)
4848
val list_min : ?cmp:('a -> 'a -> int) -> 'a list -> 'a

network.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ let class_c ip = Int32.logand 0xFFFFFF00l ip
5050
module IPv4 = struct
5151
type t = ipv4
5252
let equal = (=)
53-
let compare = Pervasives.compare
53+
let compare = Stdlib.compare
5454
let null = ipv4_null
5555
let to_bytes = bytes_of_ipv4
5656
let to_string = string_of_ipv4

nix.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ let handle_sig_exit_with ~exit fin =
9696
(* log #info "Received signal %i (exit)..." n; *)
9797
(try fin () with exn -> log #warn ~exn "handle_sig_exit");
9898
(* log #info "Signal handler done.%s" (if exit then " Exiting." else ""); *)
99-
if exit then Pervasives.exit 0)))
99+
if exit then Stdlib.exit 0)))
100100
[Sys.sigint; Sys.sigterm]
101101

102102
(**

0 commit comments

Comments
 (0)