Skip to content
Browse files

Moved EmptyDataDecls extension from .cabal file to LANGUAGE pragma

  • Loading branch information...
1 parent 9767799 commit dce5defbb043b9fdd60d490e9039223efd5e3dbd @tomlokhorst committed
View
1 AwesomePrelude.cabal
@@ -19,7 +19,6 @@ cabal-version: >= 1.6
library
hs-source-dirs: src
- extensions: EmptyDataDecls
exposed-modules: Compiler.Pipeline,
Generic.Control.Alternative
Generic.Control.Applicative
View
2 src/Generic/Data/Bool.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE MultiParamTypeClasses #-}
+{-# LANGUAGE EmptyDataDecls, MultiParamTypeClasses #-}
module Generic.Data.Bool where
View
2 src/Generic/Data/Either.hs
@@ -1,3 +1,5 @@
+{-# LANGUAGE EmptyDataDecls #-}
+
module Generic.Data.Either where
import Prelude ()
View
2 src/Generic/Data/Maybe.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-}
+{-# LANGUAGE EmptyDataDecls, FlexibleInstances, MultiParamTypeClasses #-}
module Generic.Data.Maybe where
View
2 src/Generic/Data/Number.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE FlexibleInstances #-}
+{-# LANGUAGE EmptyDataDecls, FlexibleInstances #-}
module Generic.Data.Number where
View
2 src/Lang/JavaScript.hs
@@ -1,4 +1,4 @@
-{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-}
+{-# LANGUAGE EmptyDataDecls, FlexibleContexts, FlexibleInstances, MultiParamTypeClasses #-}
module Lang.JavaScript where

0 comments on commit dce5def

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