diff options
| author | jforest | 2010-05-06 07:56:25 +0000 |
|---|---|---|
| committer | jforest | 2010-05-06 07:56:25 +0000 |
| commit | f95034fa6ec4341d980e0a9cf686764bd2866eec (patch) | |
| tree | d5e7678a07f7962bf9bbe8c9f1e60ff4dcfe43c2 /doc | |
| parent | 6d8d2c2f3941a9be486f225d9b62239a6a9113a1 (diff) | |
Correction in Function documentation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12995 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/refman/RefMan-ext.tex | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/refman/RefMan-ext.tex b/doc/refman/RefMan-ext.tex index 01df199ab9..503167987d 100644 --- a/doc/refman/RefMan-ext.tex +++ b/doc/refman/RefMan-ext.tex @@ -675,7 +675,15 @@ Function plus (n m : nat) {struct n} : nat := \paragraph[Limitations]{Limitations\label{sec:Function-limitations}} \term$_0$ must be build as a \emph{pure pattern-matching tree} (\texttt{match...with}) with applications only \emph{at the end} of -each branch. For now dependent cases are not treated. +each branch. + +Function does not support partial application of the function being defined. Thus, the following example cannot be accepted due to the presence of partial application of \ident{wrong} into the body of \ident{wrong}~: +\begin{coq_example*} + Function wrong (C:nat) {\ldots} : nat := + List.hd(List.map wrong (C::nil)). +\end{coq_example*} + +For now dependent cases are not treated for non structurally terminating functions. |
