diff options
author | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-10-18 15:48:41 +0000 |
---|---|---|
committer | letouzey <letouzey@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2011-10-18 15:48:41 +0000 |
commit | 6b1c2cd00381381a187588ab9f59b68bb5b01850 (patch) | |
tree | ac36d7ac162beed0900a5f0837f65c8d306d9e21 /doc | |
parent | 18489538b2fd1e576b0df3af274925b5b81c10e8 (diff) |
Extraction.tex: typo in an Extract Inductive example (fix #2625)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14574 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/refman/Extraction.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/refman/Extraction.tex b/doc/refman/Extraction.tex index 8df2cf3bf..ee289ee7e 100644 --- a/doc/refman/Extraction.tex +++ b/doc/refman/Extraction.tex @@ -334,7 +334,7 @@ As an example of translation to a non-inductive datatype, let's turn {\tt nat} into Ocaml's {\tt int} (see caveat above): \begin{coq_example} Extract Inductive nat => int [ "0" "succ" ] - "(fun fO fS n => if n=0 then fO () else fS (n-1))". + "(fun fO fS n -> if n=0 then fO () else fS (n-1))". \end{coq_example} \asubsection{Avoiding conflicts with existing filenames} |