clean(Nativeint): remove functions defined in Stdlib

This commit is contained in:
Fardale 2020-03-05 19:46:59 +01:00 committed by Simon Cruanes
parent 80ad2f349f
commit 71a3ebdeb5
2 changed files with 0 additions and 6 deletions

View file

@ -3,8 +3,6 @@
open CCShims_ open CCShims_
include Nativeint include Nativeint
let equal (x:t) y = Stdlib.(=) x y
module Infix = struct module Infix = struct
let (+) = add let (+) = add

View file

@ -93,10 +93,6 @@ module Infix : sig
val (<) : t -> t -> bool val (<) : t -> t -> bool
end end
val equal : t -> t -> bool
(** The equal function for native integers.
Like {!Pervasives.(=) x y)}. *)
val hash : t -> int val hash : t -> int
(** Like {!Pervasives.abs (to_int x)}. *) (** Like {!Pervasives.abs (to_int x)}. *)