diff options
Diffstat (limited to 'pretyping/retyping.mli')
-rw-r--r-- | pretyping/retyping.mli | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pretyping/retyping.mli b/pretyping/retyping.mli index f2c030f9..62bda6ef 100644 --- a/pretyping/retyping.mli +++ b/pretyping/retyping.mli @@ -1,21 +1,17 @@ (************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) -(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2011 *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2012 *) (* \VV/ **************************************************************) (* // * This file is distributed under the terms of the *) (* * GNU Lesser General Public License Version 2.1 *) (************************************************************************) -(*i $Id: retyping.mli 14641 2011-11-06 11:59:10Z herbelin $ i*) - -(*i*) open Names open Term open Evd open Environ -(*i*) -(* This family of functions assumes its constr argument is known to be +(** This family of functions assumes its constr argument is known to be well-typable. It does not type-check, just recompute the type without any costly verifications. On non well-typable terms, it either produces a wrong result or raise an anomaly. Use with care. @@ -33,10 +29,10 @@ val get_sort_of : val get_sort_family_of : ?polyprop:bool -> env -> evar_map -> types -> sorts_family -(* Makes an assumption from a constr *) +(** Makes an assumption from a constr *) val get_assumption_of : env -> evar_map -> constr -> types -(* Makes an unsafe judgment from a constr *) +(** Makes an unsafe judgment from a constr *) val get_judgment_of : env -> evar_map -> constr -> unsafe_judgment val type_of_global_reference_knowing_parameters : env -> evar_map -> constr -> |