From 100e2840aacaf2b805455447c65c3cc632fa80ac Mon Sep 17 00:00:00 2001 From: Rudi Grinberg Date: Thu, 26 Sep 2024 00:36:34 +0100 Subject: [PATCH] fix: 4.14 compat --- lib/import.ml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/import.ml b/lib/import.ml index eb0a5e84..e55ae3c0 100644 --- a/lib/import.ml +++ b/lib/import.ml @@ -48,3 +48,9 @@ module Option = struct let iter t ~f = if is_none t then () else f (value_exn t) end end + +module Int = struct + let[@warning "-32"] hash (x : int) = Hashtbl.hash x + + include Stdlib.Int +end