| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Mod_subst |
| 13 |
open Tac2expr |
| 14 |
|
| 15 |
type context = (Id.t * type_scheme) list |
| 16 |
|
| 17 |
val intern : strict:bool -> context -> raw_tacexpr -> glb_tacexpr * type_scheme |
| 18 |
val intern_typedef : (KerName.t * int) Id.Map.t -> raw_quant_typedef -> glb_quant_typedef |
| 19 |
val intern_open_type : raw_typexpr -> type_scheme |
| 20 |
val intern_notation_data : Id.Set.t -> raw_tacexpr -> Tac2env.notation_data |
| 21 |
|
| 22 |
|
| 23 |
val genintern_warn_not_unit : ?check_unused:bool -> |
| 24 |
Genintern.glob_sign -> |
| 25 |
(Name.t * Tac2typing_env.mix_type_scheme) list -> |
| 26 |
raw_tacexpr -> |
| 27 |
glb_tacexpr |
| 28 |
|
| 29 |
val genintern : ?check_unused:bool -> |
| 30 |
Genintern.glob_sign -> |
| 31 |
(Name.t * Tac2typing_env.mix_type_scheme) list -> |
| 32 |
Tac2typing_env.TVar.t glb_typexpr -> |
| 33 |
raw_tacexpr -> |
| 34 |
glb_tacexpr |
| 35 |
|
| 36 |
type not_value_reason = |
| 37 |
| MutString |
| 38 |
| Application |
| 39 |
| MutDef of ltac_constant |
| 40 |
| MutCtor of type_constant |
| 41 |
| MutProj of type_constant |
| 42 |
| MaybeValButNotSupported |
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
val check_value : glb_tacexpr -> not_value_reason option |
| 47 |
|
| 48 |
val is_pure_constructor : type_constant -> bool |
| 49 |
|
| 50 |
val check_unit : ?loc:Loc.t -> type_scheme -> unit |
| 51 |
|
| 52 |
val check_subtype : type_scheme -> type_scheme -> bool |
| 53 |
|
| 54 |
|
| 55 |
|
| 56 |
val subst_type : substitution -> 'a glb_typexpr -> 'a glb_typexpr |
| 57 |
val subst_expr : substitution -> glb_tacexpr -> glb_tacexpr |
| 58 |
val subst_quant_typedef : substitution -> glb_quant_typedef -> glb_quant_typedef |
| 59 |
val subst_type_scheme : substitution -> type_scheme -> type_scheme |
| 60 |
|
| 61 |
val subst_rawexpr : substitution -> raw_tacexpr -> raw_tacexpr |
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
val globalize : Id.Set.t -> raw_tacexpr -> raw_tacexpr |
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
val debug_globalize_allow_ext : Id.Set.t -> raw_tacexpr -> raw_tacexpr |
| 70 |
|
| 71 |
|
| 72 |
|
| 73 |
|
| 74 |
|
| 75 |
val error_nargs_mismatch : ?loc:Loc.t -> ltac_constructor -> int -> int -> 'a |
| 76 |
val error_nparams_mismatch : ?loc:Loc.t -> int -> int -> 'a |
| 77 |
|
| 78 |
|
| 79 |
|
| 80 |
val drop_ltac2_env : Genintern.Store.t -> Genintern.Store.t |