aboutsummaryrefslogtreecommitdiff
path: root/doc/refman/Extraction.tex
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-14 12:32:05 +0200
committerMaxime Dénès2017-06-14 12:32:05 +0200
commit81243d8ac2c10fb4a3f8b1236a8947d5d60fe6cd (patch)
tree1b6ef74ee2bbeefaed3a09e27ed14a2b2d0fd44c /doc/refman/Extraction.tex
parentb240771a3661883ca0cc0497efee5b48519bddea (diff)
parentbb6dbba6a76f83c7cbac7a1f8d6eaa14da2d3d40 (diff)
Merge PR#220: Less init plugins
Diffstat (limited to 'doc/refman/Extraction.tex')
-rw-r--r--doc/refman/Extraction.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/refman/Extraction.tex b/doc/refman/Extraction.tex
index 01dbcfb1cb..fa3d61b1cd 100644
--- a/doc/refman/Extraction.tex
+++ b/doc/refman/Extraction.tex
@@ -19,6 +19,12 @@ be used (abusively) to refer to any of the three.
%% the one in previous versions of \Coq: there is no more
%% an explicit toplevel for the language (formerly called \textsc{Fml}).
+Before using any of the commands or options described in this chapter,
+the extraction framework should first be loaded explicitly
+via {\tt Require Extraction}. Note that in earlier versions of Coq, these
+commands and options were directly available without any preliminary
+{\tt Require}.
+
\asection{Generating ML code}
\comindex{Extraction}
\comindex{Recursive Extraction}
@@ -501,6 +507,7 @@ We can now extract this program to \ocaml:
Reset Initial.
\end{coq_eval}
\begin{coq_example}
+Require Extraction.
Require Import Euclid Wf_nat.
Extraction Inline gt_wf_rec lt_wf_rec induction_ltof2.
Recursive Extraction eucl_dev.