summaryrefslogtreecommitdiffstats
path: root/stdlib/int32.ml
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/int32.ml')
-rw-r--r--stdlib/int32.ml1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/int32.ml b/stdlib/int32.ml
index e8e55ddc8..63c99e3d4 100644
--- a/stdlib/int32.ml
+++ b/stdlib/int32.ml
@@ -50,3 +50,4 @@ external of_string : string -> int32 = "caml_int32_of_string"
type t = int32
let compare (x: t) (y: t) = Pervasives.compare x y
+let equal (x: t) (y: t) = compare x y = 0