aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorletouzey2010-06-14 10:24:52 +0000
committerletouzey2010-06-14 10:24:52 +0000
commite07a8f130f599ec6dc85850cf7c7c8709f0fda9a (patch)
tree205e33b88c3de928f9d8e7dfc677bc4e6b71aed7
parent8f4b002c44c4820131acd929d31502ab7cf952c4 (diff)
Extraction Implicit: documentation
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@13133 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--doc/refman/Extraction.tex19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/refman/Extraction.tex b/doc/refman/Extraction.tex
index 65ab1a0b99..5d90ae6613 100644
--- a/doc/refman/Extraction.tex
+++ b/doc/refman/Extraction.tex
@@ -175,6 +175,25 @@ this constant is not declared in the generated file.
declared in the produced file.
\end{itemize}
+\asubsection{Extra elimination of useless arguments}
+
+\begin{description}
+\item \comindex{Extraction Implicit}
+ {\tt Extraction Implicit} \qualid\ [ \ident$_1$ \dots\ \ident$_n$ ].
+
+This experimental command allows to declare some arguments of
+\qualid\ as implicit, i.e. useless in extracted code and hence to
+be removed by extraction. Here \qualid\ can be any function or
+inductive constructor, and \ident$_i$ are the names of the concerned
+arguments. In fact, an argument can also be referred by a number
+indicating its position, starting from 1. When an actual extraction
+takes place, an error is raised if the {\tt Extraction Implicit}
+declarations cannot be honored, that is if any of the implicited
+variables still occurs in the final code. This declaration of useless
+arguments is independent but complementary to the main elimination
+principles of extraction (logical parts and types).
+\end{description}
+
\asubsection{Realizing axioms}\label{extraction:axioms}
Extraction will fail if it encounters an informative