#2527: all ghc language extensions should have their own flags
-----------------------------+----------------------------------------------
 Reporter:  fergushenderson  |          Owner:          
     Type:  feature request  |         Status:  closed  
 Priority:  normal           |      Milestone:          
Component:  Compiler         |        Version:  6.8.3   
 Severity:  normal           |     Resolution:  invalid 
 Keywords:                   |     Difficulty:  Unknown 
 Testcase:                   |   Architecture:  Multiple
       Os:  Multiple         |  
-----------------------------+----------------------------------------------
Changes (by simonpj):

  * status:  new => closed
  * difficulty:  => Unknown
  * resolution:  => invalid

Comment:

 Indeed Duncan is right. Specifically, `-fglasgow-exts` sets the following
 flags, and that is its only effect
 {{{
              Opt_PrintExplicitForalls
            , Opt_ForeignFunctionInterface
            , Opt_UnliftedFFITypes
            , Opt_GADTs
            , Opt_ImplicitParams
            , Opt_ScopedTypeVariables
            , Opt_UnboxedTuples
            , Opt_TypeSynonymInstances
            , Opt_StandaloneDeriving
            , Opt_DeriveDataTypeable
            , Opt_FlexibleContexts
            , Opt_FlexibleInstances
            , Opt_ConstrainedClassMethods
            , Opt_MultiParamTypeClasses
            , Opt_FunctionalDependencies
            , Opt_MagicHash
            , Opt_PolymorphicComponents
            , Opt_ExistentialQuantification
            , Opt_UnicodeSyntax
            , Opt_PostfixOperators
            , Opt_PatternGuards
            , Opt_LiberalTypeSynonyms
            , Opt_RankNTypes
            , Opt_ImpredicativeTypes
            , Opt_TypeOperators
            , Opt_RecursiveDo
            , Opt_ParallelListComp
            , Opt_EmptyDataDecls
            , Opt_KindSignatures
            , Opt_PatternSignatures
            , Opt_GeneralizedNewtypeDeriving
            , Opt_TypeFamilies ]
 }}}
 So I'll close this ticket.  Fergus if some of these flags are too coarse-
 grained, open another ticket.

 Simon

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2527#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to