aboutsummaryrefslogtreecommitdiff
path: root/lib/util.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/util.ml')
-rw-r--r--lib/util.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/util.ml b/lib/util.ml
index f7e50204c1..be6f67dc16 100644
--- a/lib/util.ml
+++ b/lib/util.ml
@@ -252,6 +252,8 @@ type ('a,'b) union = Inl of 'a | Inr of 'b
module Intset = Set.Make(struct type t = int let compare = compare end)
+module Intmap = Map.Make(struct type t = int let compare = compare end)
+
let out_some = function
| Some x -> x
| None -> failwith "out_some"