diff options
author | 2011-11-21 17:03:54 +0000 | |
---|---|---|
committer | 2011-11-21 17:03:54 +0000 | |
commit | 39fd2b160dbbd6411dd05f52984f198338de300a (patch) | |
tree | fba087dc2d603fc969c8b6193662f01ffcc9f08f /pretyping/arguments_renaming.mli | |
parent | ed06a90f16fcf7d45672bbddf42efe4cc0efd4d4 (diff) |
Renamig support added to "Arguments"
Example:
Arguments eq_refl {B y}, [B] y.
Check (eq_refl (B := nat)).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14719 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'pretyping/arguments_renaming.mli')
-rw-r--r-- | pretyping/arguments_renaming.mli | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pretyping/arguments_renaming.mli b/pretyping/arguments_renaming.mli new file mode 100644 index 000000000..a484ecf7f --- /dev/null +++ b/pretyping/arguments_renaming.mli @@ -0,0 +1,22 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +open Names +open Libnames +open Environ +open Term + +val rename_arguments : bool -> global_reference -> name list list -> unit + +(** [Not_found] is raised is no names are defined for [r] *) +val arguments_names : global_reference -> name list list + +val rename_type_of_constant : env -> constant -> types +val rename_type_of_inductive : env -> inductive -> types +val rename_type_of_constructor : env -> constructor -> types +val rename_typing : env -> constr -> unsafe_judgment |