Commit 70dd3e6b authored by simonpj@microsoft.com's avatar simonpj@microsoft.com
Browse files

Arrange that -fth is no longer implied by -fglasgow-exts

Messages involving Template Haskell are deeply puzzling
if you don't know about TH, so it seems better to make
-fth an explicit flag.  It is no longer switched on
by -fglasgow-exts.
parent 3d33e8fd
......@@ -1007,7 +1007,6 @@ fFlags = [
glasgowExtsFlags = [
Opt_GlasgowExts,
Opt_FFI,
Opt_TH,
Opt_ImplicitParams,
Opt_ScopedTypeVariables,
Opt_BangPatterns ]
......
......@@ -628,7 +628,7 @@
<row>
<entry><option>-fth</option></entry>
<entry>Enable Template Haskell.
Implied by <option>-fglasgow-exts</option>.</entry>
No longer implied by <option>-fglasgow-exts</option>.</entry>
<entry>dynamic</entry>
<entry><option>-fno-th</option></entry>
</row>
......
......@@ -244,7 +244,8 @@ documentation</ulink> describes all the libraries that come with GHC.
<term><option>-fth</option></term>
<listitem>
<para>Enables Template Haskell (see <xref
linkend="template-haskell"/>). Currently also implied by
linkend="template-haskell"/>). This flag must
be given explicitly; it is no longer implied by
<option>-fglasgow-exts</option>.</para>
<para>Syntax stolen: <literal>[|</literal>,
......@@ -4086,9 +4087,8 @@ Tim Sheard is going to expand it.)
constructions. You need to use the flag
<option>-fth</option><indexterm><primary><option>-fth</option></primary>
</indexterm>to switch these syntactic extensions on
(<option>-fth</option> is currently implied by
<option>-fglasgow-exts</option>, but you are encouraged to
specify it explicitly).</para>
(<option>-fth</option> is no longer implied by
<option>-fglasgow-exts</option>).</para>
<itemizedlist>
<listitem><para>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment