Move all used GHC extensions to Cabal

This commit is contained in:
Vincent Ambo 2014-05-18 21:56:39 +02:00
parent 19cc93685b
commit 5f6841afa2
6 changed files with 11 additions and 32 deletions

View file

@ -14,7 +14,6 @@ Executable tazblog
hs-source-dirs: src
main-is: Main.hs
ghc-options: -O2
Build-depends:
base,
bytestring,
@ -38,3 +37,14 @@ Executable tazblog
hamlet,
shakespeare,
markdown
extensions:
DeriveDataTypeable
FlexibleContexts
GeneralizedNewtypeDeriving
MultiParamTypeClasses
OverloadedStrings
RecordWildCards
ScopedTypeVariables
TemplateHaskell
TypeFamilies
QuasiQuotes

View file

@ -1,10 +1,3 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE QuasiQuotes #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
module Blog where
import BlogDB

View file

@ -1,11 +1,3 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
module BlogDB where
import Control.Monad.Reader (ask)

View file

@ -1,7 +1,3 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
module Locales where
import Data.Data (Data, Typeable)

View file

@ -1,13 +1,3 @@
{-# LANGUAGE DeriveDataTypeable #-}
{-# LANGUAGE FlexibleContexts #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeFamilies #-}
module Main where
import Control.Applicative (optional, pure, (<$>), (<*>))

View file

@ -1,5 +1,3 @@
{-# LANGUAGE RecordWildCards #-}
module RSS (renderFeed) where
import qualified Data.Text as T