[commit: ghc] master: Update list of flags implied by -XGADTs in User's Guide section on GADTs (b287bc9)
git at git.haskell.org
git at git.haskell.org
Tue Aug 19 00:04:21 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/b287bc9bd0afaa26fcd3fe53a49bf86deeb868d8/ghc
>---------------------------------------------------------------
commit b287bc9bd0afaa26fcd3fe53a49bf86deeb868d8
Author: Reid Barton <rwbarton at gmail.com>
Date: Mon Aug 18 19:39:58 2014 -0400
Update list of flags implied by -XGADTs in User's Guide section on GADTs
>---------------------------------------------------------------
b287bc9bd0afaa26fcd3fe53a49bf86deeb868d8
docs/users_guide/glasgow_exts.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml
index f515313..a6c43b8 100644
--- a/docs/users_guide/glasgow_exts.xml
+++ b/docs/users_guide/glasgow_exts.xml
@@ -3708,7 +3708,8 @@ may use different notation to that implemented in GHC.
</para>
<para>
The rest of this section outlines the extensions to GHC that support GADTs. The extension is enabled with
-<option>-XGADTs</option>. The <option>-XGADTs</option> flag also sets <option>-XRelaxedPolyRec</option>.
+<option>-XGADTs</option>. The <option>-XGADTs</option> flag also sets <option>-XGADTSyntax</option>
+and <option>-XMonoLocalBinds</option>.
<itemizedlist>
<listitem><para>
A GADT can only be declared using GADT-style syntax (<xref linkend="gadt-style"/>);
More information about the ghc-commits
mailing list