From 6b1c2cd00381381a187588ab9f59b68bb5b01850 Mon Sep 17 00:00:00 2001 From: letouzey Date: Tue, 18 Oct 2011 15:48:41 +0000 Subject: 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 --- doc/refman/Extraction.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/refman/Extraction.tex b/doc/refman/Extraction.tex index 8df2cf3bf2..ee289ee7e7 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} -- cgit v1.2.3