diff options
author | Simon Peyton Jones <simonpj@microsoft.com> | 2012-12-19 10:28:34 +0000 |
---|---|---|
committer | Simon Peyton Jones <simonpj@microsoft.com> | 2012-12-19 10:32:01 +0000 |
commit | b5853125ca6a5637647d0b0f2d6271cbf219b337 (patch) | |
tree | 3a9d16e1a9db52366cdb03205ce56cb285b1917b /docs/users_guide/using.xml | |
parent | ea8490e79d37ba758d5ffcf19b087cf74e09b5a0 (diff) | |
download | haskell-b5853125ca6a5637647d0b0f2d6271cbf219b337.tar.gz |
Wibbles to faa8ff40 (UNPACK pragmas)
Nothing big here, just tidying up deetails
Diffstat (limited to 'docs/users_guide/using.xml')
-rw-r--r-- | docs/users_guide/using.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/users_guide/using.xml b/docs/users_guide/using.xml index 1e81955b3c..292f4fe1c0 100644 --- a/docs/users_guide/using.xml +++ b/docs/users_guide/using.xml @@ -1862,8 +1862,8 @@ f "2" = 2 <varlistentry> <term> - <option>-funbox-strict-primitive-fields</option>: - <indexterm><primary><option>-funbox-strict-primitive-fields</option></primary></indexterm> + <option>-funbox-small-strict-fields</option>: + <indexterm><primary><option>-funbox-small-strict-fields</option></primary></indexterm> <indexterm><primary>strict constructor fields</primary></indexterm> <indexterm><primary>constructor fields, strict</primary></indexterm> </term> @@ -1874,7 +1874,7 @@ f "2" = 2 pointer to be unpacked, if possible. It is equivalent to adding an <literal>UNPACK</literal> pragma (see <xref linkend="unpack-pragma"/>) to every strict constructor - field that fullfills the size restriction. + field that fulfils the size restriction. </para> <para>For example, the constructor fields in the following @@ -1888,12 +1888,12 @@ data D = D !C would all be represented by a single <literal>Int#</literal> (see <xref linkend="primitives"/>) value with - <option>-funbox-strict-primitive-fields</option> enabled. + <option>-funbox-small-strict-fields</option> enabled. </para> <para>This option is less of a sledgehammer than <option>-funbox-strict-fields</option>: it should rarely make things - worse. If you use <option>-funbox-strict-primitive-fields</option> + worse. If you use <option>-funbox-small-strict-fields</option> to turn on unboxing by default you can disable it for certain constructor fields using the <literal>NOUNPACK</literal> pragma (see <xref linkend="nounpack-pragma"/>).</para> |