diff options
Diffstat (limited to 'pretyping/detyping.mli')
-rw-r--r-- | pretyping/detyping.mli | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pretyping/detyping.mli b/pretyping/detyping.mli index 9f315938c..00b7c471a 100644 --- a/pretyping/detyping.mli +++ b/pretyping/detyping.mli @@ -21,20 +21,19 @@ open Mod_subst val subst_raw : substitution -> rawconstr -> rawconstr -(* [detype (b,env) avoid ctx c] turns [c], typed in [env], into a rawconstr *) +(* [detype isgoal avoid ctx c] turns a closed [c], into a rawconstr *) (* de Bruijn indexes are turned to bound names, avoiding names in [avoid] *) -(* [b] tells if naming must avoid global-level synonyms as intro does *) +(* [isgoal] tells if naming must avoid global-level synonyms as intro does *) (* [ctx] gives the names of the free variables *) -val detype : bool * env -> identifier list -> names_context -> constr -> - rawconstr +val detype : bool -> identifier list -> names_context -> constr -> rawconstr val detype_case : bool -> ('a -> rawconstr) -> (constructor -> int -> 'a -> loc * identifier list * cases_pattern list * rawconstr) -> ('a -> int -> bool) -> - env -> identifier list -> inductive -> case_style -> - 'a option -> int -> 'a -> 'a array -> rawconstr + identifier list -> inductive * case_style * int * int array * int -> + 'a option -> 'a -> 'a array -> rawconstr (* look for the index of a named var or a nondep var as it is renamed *) val lookup_name_as_renamed : env -> constr -> identifier -> int option |