diff options
| author | Pierre-Marie Pédrot | 2013-12-22 01:02:21 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2013-12-22 04:41:57 +0100 |
| commit | ca67a3fb4184c81449101d9a0cec511ccde09d43 (patch) | |
| tree | b778b4942fbe2558be3d8707d4578d2a0d79540c /intf | |
| parent | 66e426a93fc00682128a0441d6dda3425e0be252 (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')
| -rw-r--r-- | intf/notation_term.mli | 6 |
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; +} |
