aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornarboux2004-05-19 09:06:07 +0000
committernarboux2004-05-19 09:06:07 +0000
commit2f66d100ba43d7afcfd7fdc41fd46d5e5df65f24 (patch)
tree567d09089dd99da799b34c310558a794ccda35d5
parent2207128bc8a2bc427b57a341424059d51c6ce199 (diff)
ajout question implicit
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@8577 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--doc/newfaq/main.tex13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/newfaq/main.tex b/doc/newfaq/main.tex
index c91b6b25bd..701e4fd260 100644
--- a/doc/newfaq/main.tex
+++ b/doc/newfaq/main.tex
@@ -1277,6 +1277,19 @@ is rendered into something like
Otherwise said, {\generalize} is not rendered in a forward-reasoning way,
while {\assert} is.
+\Question{What can I do if \Coq can not infer some implicit argument ?}
+
+You can state explicitely what this implicit argument is. See \ref{implicit}.
+
+\Question{How can I explicit some implicit argument ?}\label{implicit}
+
+Just use \texttt{A:=term} where \texttt{A} is the argument.
+
+For instance if you want to use the existence of ``nil'' on nat*nat lists:
+\begin{verbatim}
+exists (nil (A:=(nat*nat))).
+\end{verbatim}
+
\Question{Is there anyway to do pattern matching with dependent types?}
todo