From 3236d3c8b99326558a74b4d5559ffd200237356b Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Mon, 4 Feb 2019 13:33:52 -0600 Subject: [PATCH] fix: missing type annotation for specializing int.compare --- src/core/CCInt.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/CCInt.ml b/src/core/CCInt.ml index 9d330f4d..c45d9673 100644 --- a/src/core/CCInt.ml +++ b/src/core/CCInt.ml @@ -6,7 +6,7 @@ type 'a sequence = ('a -> unit) -> unit let equal (a:int) b = Pervasives.(=) a b -let compare a b = compare a b +let compare (a:int) b = compare a b let hash i = i land max_int