Refactor, improve, and document the deriving mechanism
[ghc-hetmet.git] / docs / users_guide / flags.xml
index 19e3c3d..e5c3289 100644 (file)
            </row>
            <row>
              <entry><option>-XStandaloneDeriving</option></entry>
-             <entry>Enable standalone deriving.</entry>
+             <entry>Enable <link linkend="stand-alone-deriving">standalone deriving</link>.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoStandaloneDeriving</option></entry>
            </row>
            <row>
              <entry><option>-XDeriveDataTypeable</option></entry>
-             <entry>Enable deriving for the Data and Typeable classes.</entry>
+             <entry>Enable <link linkend="deriving-typeable">deriving for the Data and Typeable classes</link>.</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoDeriveDataTypeable</option></entry>
            </row>
            <row>
+             <entry><option>-XGeneralizedNewtypeDeriving</option></entry>
+             <entry>Enable <link linkend="newtype-deriving">newtype deriving</link>.</entry>
+             <entry>dynamic</entry>
+             <entry><option>-XNoGeneralizedNewtypeDeriving</option></entry>
+           </row>
+           <row>
              <entry><option>-XTypeSynonymInstances</option></entry>
              <entry>Enable <link linkend="type-synonyms">type synonyms</link>.</entry>
              <entry>dynamic</entry>
              <entry>dynamic</entry>
              <entry><option>-XNoFunctionalDependencies</option></entry>
            </row>
-           <row>
-             <entry><option>-XGeneralizedNewtypeDeriving</option></entry>
-             <entry>Enable <link linkend="newtype-deriving">newtype deriving</link>.</entry>
-             <entry>dynamic</entry>
-             <entry><option>-XNoGeneralizedNewtypeDeriving</option></entry>
-           </row>
          </tbody>
        </tgroup>
       </informaltable>