diff options
| author | Pierre-Marie Pédrot | 2015-02-18 17:27:39 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-02-18 17:27:39 +0100 |
| commit | 4bb062f4a66c4ae5a1742e7d99fdc335de0d57a9 (patch) | |
| tree | af8ead1cdc5af3842e683f602177ab4fa2dec9b5 /doc/refman/Extraction.tex | |
| parent | 1be9c4da4d814c29d4ba45b121fda924adc1130e (diff) | |
| parent | 29ba692f0fd25ce87392bbb7494cb62e3b97dc07 (diff) | |
Merge branch 'v8.5'
Diffstat (limited to 'doc/refman/Extraction.tex')
| -rw-r--r-- | doc/refman/Extraction.tex | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/doc/refman/Extraction.tex b/doc/refman/Extraction.tex index e9664f791c..187fe53428 100644 --- a/doc/refman/Extraction.tex +++ b/doc/refman/Extraction.tex @@ -117,22 +117,20 @@ The type-preserving optimizations are controlled by the following \Coq\ options: \begin{description} -\item \comindex{Set Extraction Optimize} +\item \optindex{Extraction Optimize} {\tt Set Extraction Optimize.} -\item \comindex{Unset Extraction Optimize} -{\tt Unset Extraction Optimize.} +\item {\tt Unset Extraction Optimize.} Default is Set. This controls all type-preserving optimizations made on the ML terms (mostly reduction of dummy beta/iota redexes, but also simplifications on Cases, etc). Put this option to Unset if you want a ML term as close as possible to the Coq term. -\item \comindex{Set Extraction Conservative Types} +\item \optindex{Extraction Conservative Types} {\tt Set Extraction Conservative Types.} -\item \comindex{Unset Extraction Conservative Types} -{\tt Unset Extraction Conservative Types.} +\item {\tt Unset Extraction Conservative Types.} Default is Unset. This controls the non type-preserving optimizations made on ML terms (which try to avoid function abstraction of dummy @@ -140,11 +138,10 @@ types). Turn this option to Set to make sure that {\tt e:t} implies that {\tt e':t'} where {\tt e'} and {\tt t'} are the extracted code of {\tt e} and {\tt t} respectively. -\item \comindex{Set Extraction KeepSingleton} +\item \optindex{Extraction KeepSingleton} {\tt Set Extraction KeepSingleton.} -\item \comindex{Unset Extraction KeepSingleton} -{\tt Unset Extraction KeepSingleton.} +\item {\tt Unset Extraction KeepSingleton.} Default is Unset. Normally, when the extraction of an inductive type produces a singleton type (i.e. a type with only one constructor, and @@ -153,11 +150,10 @@ removed and this type is seen as an alias to the inner type. The typical example is {\tt sig}. This option allows disabling this optimization when one wishes to preserve the inductive structure of types. -\item \comindex{Set Extraction AutoInline} +\item \optindex{Extraction AutoInline} {\tt Set Extraction AutoInline.} -\item \comindex{Unset Extraction AutoInline} -{\tt Unset Extraction AutoInline.} +\item {\tt Unset Extraction AutoInline.} Default is Set, so by default, the extraction mechanism is free to inline the bodies of some defined constants, according to some heuristics |
