From ca67a3fb4184c81449101d9a0cec511ccde09d43 Mon Sep 17 00:00:00 2001 From: Pierre-Marie Pédrot Date: Sun, 22 Dec 2013 01:02:21 +0100 Subject: 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. --- interp/notation_ops.mli | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'interp/notation_ops.mli') 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 -- cgit v1.2.3