diff options
author | Arnaud Spiwack <arnaud@spiwack.net> | 2014-11-07 18:38:12 +0100 |
---|---|---|
committer | Arnaud Spiwack <arnaud@spiwack.net> | 2014-11-19 10:11:45 +0100 |
commit | fc2476e4a29592dcf2860a16d3a7c0aeeb4bffac (patch) | |
tree | 0fbe3e51ea0fd8e68e9f555fdc52a18bc2cf417c /pretyping/detyping.mli | |
parent | 7232e8f3fc5237705b80a870a6a3ad1a4748b838 (diff) |
Printing function for [uconstr].
The core is a "detyping" function for [closed_glob_constr]. Which interpretes the variable names according to the Ltac context, and apply the standard detyping procedure to typed terms in the closure.
Diffstat (limited to 'pretyping/detyping.mli')
-rw-r--r-- | pretyping/detyping.mli | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pretyping/detyping.mli b/pretyping/detyping.mli index 8a8312990..064b6a5ae 100644 --- a/pretyping/detyping.mli +++ b/pretyping/detyping.mli @@ -45,6 +45,8 @@ val detype_sort : sorts -> glob_sort val detype_rel_context : ?lax:bool -> constr option -> Id.t list -> (names_context * env) -> evar_map -> rel_context -> glob_decl list +val detype_closed_glob : ?lax:bool -> bool -> Id.t list -> env -> evar_map -> closed_glob_constr -> glob_constr + (** look for the index of a named var or a nondep var as it is renamed *) val lookup_name_as_displayed : env -> constr -> Id.t -> int option val lookup_index_as_renamed : env -> constr -> int -> int option |