diff options
| author | Maxime Dénès | 2017-05-03 13:37:41 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-05-03 13:37:41 +0200 |
| commit | 3c795ba6b5728e8a0a699ab15c773c52c48f33e4 (patch) | |
| tree | 7a95c75037ddc1c729bc496c13084d350f9f29a1 /kernel/typeops.ml | |
| parent | 4bff930da2c029a66eaf5378e5abd2cc35554f8f (diff) | |
| parent | 15d415729962eddde2cd1d58e03449c8526ba626 (diff) | |
Merge PR#411: Mention template polymorphism in the documentation.
Diffstat (limited to 'kernel/typeops.ml')
| -rw-r--r-- | kernel/typeops.ml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml index 7d9a2aac09..dbc0dcb73e 100644 --- a/kernel/typeops.ml +++ b/kernel/typeops.ml @@ -367,15 +367,13 @@ let rec execute env cstr = let ft = match kind_of_term f with | Ind ind when Environ.template_polymorphic_pind ind env -> - (* Template sort-polymorphism of inductive types *) let args = Array.map (fun t -> lazy t) argst in type_of_inductive_knowing_parameters env ind args | Const cst when Environ.template_polymorphic_pconstant cst env -> - (* Template sort-polymorphism of constants *) let args = Array.map (fun t -> lazy t) argst in type_of_constant_knowing_parameters env cst args | _ -> - (* Full or no sort-polymorphism *) + (* No template polymorphism *) execute env f in |
