File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -290,14 +290,14 @@ let io_copy input output =
290
290
291
291
let io_null = IO. create_out ~write: (fun _ -> () ) ~output: (fun _ _ len -> len) ~flush: id ~close: id
292
292
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)
294
294
let compare2 f g (a ,b ) (a' ,b' ) =
295
295
match f a a' with
296
296
| 0 -> g b b'
297
297
| x -> x
298
298
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')
301
301
| x -> x
302
302
let compare_fst f (a ,_ ) (a' ,_ ) = f a a'
303
303
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ val chunk_e : int -> 'a Enum.t -> 'a Enum.t Enum.t
42
42
43
43
(* *
44
44
find the minimum element in the list
45
- @param cmp compare function, default [Pervasives .compare]
45
+ @param cmp compare function, default [Stdlib .compare]
46
46
@raise Empty_list when list is empty
47
47
*)
48
48
val list_min : ?cmp : ('a -> 'a -> int ) -> 'a list -> 'a
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ let class_c ip = Int32.logand 0xFFFFFF00l ip
50
50
module IPv4 = struct
51
51
type t = ipv4
52
52
let equal = (= )
53
- let compare = Pervasives . compare
53
+ let compare = Stdlib . compare
54
54
let null = ipv4_null
55
55
let to_bytes = bytes_of_ipv4
56
56
let to_string = string_of_ipv4
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ let handle_sig_exit_with ~exit fin =
96
96
(* log #info "Received signal %i (exit)..." n; *)
97
97
(try fin () with exn -> log #warn ~exn " handle_sig_exit" );
98
98
(* 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 )))
100
100
[Sys. sigint; Sys. sigterm]
101
101
102
102
(* *
You can’t perform that action at this time.
0 commit comments