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/constrintern.mli | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'interp/constrintern.mli') diff --git a/interp/constrintern.mli b/interp/constrintern.mli index bbee24957..90c3779fc 100644 --- a/interp/constrintern.mli +++ b/interp/constrintern.mli @@ -165,8 +165,7 @@ val global_reference_in_absolute_module : DirPath.t -> Id.t -> constr (** Interprets a term as the left-hand side of a notation. The returned map is guaranteed to have the same domain as the input one. *) val interp_notation_constr : ?impls:internalization_env -> - notation_var_internalization_type Id.Map.t -> - Id.t Id.Map.t -> constr_expr -> + notation_interp_env -> constr_expr -> (subscopes * notation_var_internalization_type) Id.Map.t * notation_constr -- cgit v1.2.3