diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2017-05-03 13:37:41 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2017-05-03 13:37:41 +0200 |
commit | 3c795ba6b5728e8a0a699ab15c773c52c48f33e4 (patch) | |
tree | 7a95c75037ddc1c729bc496c13084d350f9f29a1 /proofs/logic.ml | |
parent | 4bff930da2c029a66eaf5378e5abd2cc35554f8f (diff) | |
parent | 15d415729962eddde2cd1d58e03449c8526ba626 (diff) |
Merge PR#411: Mention template polymorphism in the documentation.
Diffstat (limited to 'proofs/logic.ml')
-rw-r--r-- | proofs/logic.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/logic.ml b/proofs/logic.ml index 9ab8c34d8..54345abd9 100644 --- a/proofs/logic.ml +++ b/proofs/logic.ml @@ -374,7 +374,7 @@ let rec mk_refgoals sigma goal goalacc conclty trm = let (acc',hdty,sigma,applicand) = if is_template_polymorphic env sigma (EConstr.of_constr f) then let ty = - (* Template sort-polymorphism of definition and inductive types *) + (* Template polymorphism of definitions and inductive types *) let firstmeta = Array.findi (fun i x -> occur_meta sigma (EConstr.of_constr x)) l in let args, _ = Option.cata (fun i -> CArray.chop i l) (l, [||]) firstmeta in type_of_global_reference_knowing_parameters env sigma (EConstr.of_constr f) (Array.map EConstr.of_constr args) |