diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2013-12-22 01:02:21 +0100 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2013-12-22 04:41:57 +0100 |
commit | ca67a3fb4184c81449101d9a0cec511ccde09d43 (patch) | |
tree | b778b4942fbe2558be3d8707d4578d2a0d79540c /interp/constrintern.mli | |
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 'interp/constrintern.mli')
-rw-r--r-- | interp/constrintern.mli | 3 |
1 files changed, 1 insertions, 2 deletions
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 |