| Opt_RecordPuns
| Opt_GADTs
| Opt_RelaxedPolyRec -- -X=RelaxedPolyRec
+ | Opt_MagicHash
+ | Opt_EmptyDataDecls
-- optimisation opts
| Opt_Strictness
-- These -X<blah> flags can all be reversed with -Xno-<blah>
xFlags :: [(String, DynFlag)]
xFlags = [
+ ( "MagicHash", Opt_MagicHash ),
+ ( "EmptyDataDecls", Opt_EmptyDataDecls ),
( "FI", Opt_FFI ), -- support `-ffi'...
( "FFI", Opt_FFI ), -- ...and also `-fffi'
- ( "ForeignFunctionInterface", Opt_FFI ), -- ...and also `-fffi'
+ ( "ForeignFunctionInterface", Opt_FFI ),
( "Arrows", Opt_Arrows ), -- arrow syntax
( "Parr", Opt_PArr ),
- ( "TH", Opt_TH ),
+ ( "TH", Opt_TH ), -- support -fth
( "TemplateHaskelll", Opt_TH ),
( "Generics", Opt_Generics ),
, Opt_GADTs
, Opt_ImplicitParams
, Opt_ScopedTypeVariables
+ , Opt_MagicHash
+ , Opt_EmptyDataDecls
, Opt_TypeFamilies ]
------------------