X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FCmdLineOpts.lhs;h=1e282a093a49851fd8d568f453c0e6906490cdfd;hb=759739c69f9cd540f03c3c69aa1990d5d58a5dd6;hp=6942408563bd0c9424794a122d9e1eb09436c9af;hpb=3ed515ed9481278a8cf200d6aaf7668502e627d0;p=ghc-hetmet.git diff --git a/ghc/compiler/main/CmdLineOpts.lhs b/ghc/compiler/main/CmdLineOpts.lhs index 6942408..1e282a0 100644 --- a/ghc/compiler/main/CmdLineOpts.lhs +++ b/ghc/compiler/main/CmdLineOpts.lhs @@ -265,7 +265,7 @@ data DynFlag | Opt_AllowOverlappingInstances | Opt_AllowUndecidableInstances | Opt_AllowIncoherentInstances - | Opt_NoMonomorphismRestriction + | Opt_MonomorphismRestriction | Opt_GlasgowExts | Opt_FFI | Opt_PArr -- syntactic support for parallel arrays @@ -273,7 +273,7 @@ data DynFlag | Opt_TH | Opt_ImplicitParams | Opt_Generics - | Opt_NoImplicitPrelude + | Opt_ImplicitPrelude -- optimisation opts | Opt_Strictness @@ -391,6 +391,8 @@ defaultDynFlags = DynFlags { pkgState = error "pkgState", flags = [ + Opt_ImplicitPrelude, + Opt_MonomorphismRestriction, Opt_Generics, -- Generating the helper-functions for -- generics is now on by default