aboutsummaryrefslogtreecommitdiff
path: root/lib/util.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2019-07-09 12:50:27 +0200
committerGaëtan Gilbert2019-07-09 12:50:27 +0200
commit35d8ca72adcc3ce04cb2919c4a2d60ea0c73d24c (patch)
treecd44fa1b1b9e70f73b19d0616499b63016419db9 /lib/util.ml
parent7f366a7c7cd154c6a1dd191ff7f453e63b39a948 (diff)
parentdda7d129dba6c90d642cd99cd989e5f13c0eb4b4 (diff)
Merge PR #10471: [core] [api] Support OCaml 4.08
Reviewed-by: SkySkimmer Ack-by: Zimmi48
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index bac06b5701..61678f7669 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -8,6 +8,13 @@
(* * (see LICENSE file for the text of the license) *)
(************************************************************************)
+type 'a pervasives_ref = 'a ref
+let pervasives_ref = ref
+let pervasives_compare = compare
+let (!) = (!)
+let (+) = (+)
+let (-) = (-)
+
(* Mapping under pairs *)
let on_fst f (a,b) = (f a,b)