aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp/notation_ops.mli
diff options
context:
space:
mode:
authorGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2013-12-22 01:02:21 +0100
committerGravatar Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr>2013-12-22 04:41:57 +0100
commitca67a3fb4184c81449101d9a0cec511ccde09d43 (patch)
treeb778b4942fbe2558be3d8707d4578d2a0d79540c /interp/notation_ops.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 'interp/notation_ops.mli')
-rw-r--r--interp/notation_ops.mli5
1 files changed, 2 insertions, 3 deletions
diff --git a/interp/notation_ops.mli b/interp/notation_ops.mli
index 9c4ac8d7e..4f84af5fe 100644
--- a/interp/notation_ops.mli
+++ b/interp/notation_ops.mli
@@ -16,9 +16,8 @@ open Glob_term
(** Translate a [glob_constr] into a notation given the list of variables
bound by the notation; also interpret recursive patterns *)
-val notation_constr_of_glob_constr :
- notation_var_internalization_type Id.Map.t ->
- Id.t Id.Map.t -> glob_constr -> notation_constr
+val notation_constr_of_glob_constr : notation_interp_env ->
+ glob_constr -> notation_constr
(** Name of the special identifier used to encode recursive notations *)
val ldots_var : Id.t