From: simonpj@microsoft.com Date: Wed, 26 Apr 2006 18:21:14 +0000 (+0000) Subject: Arrange that -fth is no longer implied by -fglasgow-exts X-Git-Tag: Before_FC_branch_merge~510 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=70dd3e6b74d368f2df585c18d86426373e7e89e5 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. --- diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs index 78acb98..aa2a400 100644 --- a/compiler/main/DynFlags.hs +++ b/compiler/main/DynFlags.hs @@ -1007,7 +1007,6 @@ fFlags = [ glasgowExtsFlags = [ Opt_GlasgowExts, Opt_FFI, - Opt_TH, Opt_ImplicitParams, Opt_ScopedTypeVariables, Opt_BangPatterns ] diff --git a/docs/users_guide/flags.xml b/docs/users_guide/flags.xml index e288da2..e6e22fe 100644 --- a/docs/users_guide/flags.xml +++ b/docs/users_guide/flags.xml @@ -628,7 +628,7 @@ Enable Template Haskell. - Implied by . + No longer implied by . dynamic diff --git a/docs/users_guide/glasgow_exts.xml b/docs/users_guide/glasgow_exts.xml index c1dca22..9a9cd38 100644 --- a/docs/users_guide/glasgow_exts.xml +++ b/docs/users_guide/glasgow_exts.xml @@ -244,7 +244,8 @@ documentation describes all the libraries that come with GHC. Enables Template Haskell (see ). Currently also implied by + linkend="template-haskell"/>). This flag must + be given explicitly; it is no longer implied by . Syntax stolen: [|, @@ -4086,9 +4087,8 @@ Tim Sheard is going to expand it.) constructions. You need to use the flag to switch these syntactic extensions on - ( is currently implied by - , but you are encouraged to - specify it explicitly). + ( is no longer implied by + ).