aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/genarg.ml
diff options
context:
space:
mode:
Diffstat (limited to 'interp/genarg.ml')
-rw-r--r--interp/genarg.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/interp/genarg.ml b/interp/genarg.ml
index eb5287b32..f9b5bee0a 100644
--- a/interp/genarg.ml
+++ b/interp/genarg.ml
@@ -197,6 +197,8 @@ let app_pair f1 f2 = function
(u, Obj.repr (o1,o2))
| _ -> failwith "Genarg: not a pair"
+let has_type (t, v) u = argument_type_eq t u
+
let unquote x = x
type an_arg_of_this_type = Obj.t