aboutsummaryrefslogtreecommitdiff
path: root/intf/notation_term.mli
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2013-12-22 01:02:21 +0100
committerPierre-Marie Pédrot2013-12-22 04:41:57 +0100
commitca67a3fb4184c81449101d9a0cec511ccde09d43 (patch)
treeb778b4942fbe2558be3d8707d4578d2a0d79540c /intf/notation_term.mli
parent66e426a93fc00682128a0441d6dda3425e0be252 (diff)
Notations can now accept dummy arguments. If ever a bound variable is not
used, they are automatically flagged as only parsing. CAVEAT: unused arguments are not typechecked, because they are dropped before the interpretation phase.
Diffstat (limited to 'intf/notation_term.mli')
-rw-r--r--intf/notation_term.mli6
1 files changed, 6 insertions, 0 deletions
diff --git a/intf/notation_term.mli b/intf/notation_term.mli
index 411b14f1f1..ac5e0f5f9c 100644
--- a/intf/notation_term.mli
+++ b/intf/notation_term.mli
@@ -73,3 +73,9 @@ type notation_var_internalization_type =
type interpretation =
(Id.t * (subscopes * notation_var_instance_type)) list *
notation_constr
+
+type notation_interp_env = {
+ ninterp_var_type : notation_var_internalization_type Id.Map.t;
+ ninterp_rec_vars : Id.t Id.Map.t;
+ mutable ninterp_only_parse : bool;
+}