aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorGravatar Gaetan Gilbert <gaetan.gilbert@ens-lyon.fr>2017-01-28 14:02:02 +0100
committerGravatar Gaetan Gilbert <gaetan.gilbert@ens-lyon.fr>2017-04-11 12:50:26 +0200
commit41b3486501f0217f0b0c552f21d6f0374b55a3ba (patch)
treed01996c3699da1df7e4889533eba9f13c7805451 /doc
parent97f1d0b6ddfce894941d34fc3b3e4c4df0efadd2 (diff)
Mention template polymorphism in the documentation.
Since About mentions it the doc should as well.
Diffstat (limited to 'doc')
-rw-r--r--doc/refman/RefMan-cic.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/refman/RefMan-cic.tex b/doc/refman/RefMan-cic.tex
index b9c17d814..12f390e44 100644
--- a/doc/refman/RefMan-cic.tex
+++ b/doc/refman/RefMan-cic.tex
@@ -1120,6 +1120,12 @@ Check (fun (A:Prop) (B:Set) => prod A B).
Check (fun (A:Type) (B:Prop) => prod A B).
\end{coq_example}
+Internally, Coq calls sort polymorphism of inductive types
+{\em template polymorphism}. For instance:
+\begin{coq_example}
+About prod.
+\end{coq_example}
+
\subsection{Destructors}
The specification of inductive definitions with arities and
constructors is quite natural. But we still have to say how to use an