Skip to content
Browse files

explicit extension list

  • Loading branch information...
1 parent c315d37 commit 1a098967cbf6f1e5d2e0ab0e46ce30ece8a3fe0c @mikeplus64 committed Jan 28, 2013
Showing with 18 additions and 2 deletions.
  1. +18 −2 src/Language/Haskell/Repl.hs
View
20 src/Language/Haskell/Repl.hs
@@ -32,7 +32,6 @@ import GhcMonad
import Outputable (showSDocForUser, ppr, neverQualify)
import Data.IORef
import Data.Maybe
-import Data.List (union)
import Data.Foldable (for_)
data Repl = Repl
@@ -160,7 +159,24 @@ defaultImports
,"import Data.Typeable"]
defaultExtensions :: [ExtensionFlag]
-defaultExtensions = glasgowExtsFlags `union` [ Opt_DataKinds, Opt_PolyKinds, Opt_TypeFamilies, Opt_TypeOperators, Opt_GADTs ]
+defaultExtensions
+ = [Opt_DataKinds
+ ,Opt_PolyKinds
+ ,Opt_TypeFamilies
+ ,Opt_TypeOperators
+ ,Opt_GeneralizedNewtypeDeriving
+ ,Opt_DeriveFunctor
+ ,Opt_DeriveDataTypeable
+ ,Opt_OverloadedStrings
+ ,Opt_ImplicitParams
+ ,Opt_BangPatterns
+ ,Opt_PatternGuards
+ ,Opt_MultiWayIf
+ ,Opt_LambdaCase
+ ,Opt_FlexibleInstances
+ ,Opt_FlexibleContexts
+ ,Opt_FunctionalDependencies
+ ,Opt_GADTs]
-- | 'Repl' smart constructor.
repl'

0 comments on commit 1a09896

Please sign in to comment.
Something went wrong with that request. Please try again.