Move all used GHC extensions to Cabal
This commit is contained in:
parent
19cc93685b
commit
5f6841afa2
6 changed files with 11 additions and 32 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,3 @@
|
|||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE QuasiQuotes #-}
|
||||
{-# LANGUAGE RecordWildCards #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Blog where
|
||||
|
||||
import BlogDB
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -1,7 +1,3 @@
|
|||
{-# LANGUAGE DeriveDataTypeable #-}
|
||||
{-# LANGUAGE OverloadedStrings #-}
|
||||
{-# LANGUAGE ScopedTypeVariables #-}
|
||||
|
||||
module Locales where
|
||||
|
||||
import Data.Data (Data, Typeable)
|
||||
|
|
10
src/Main.hs
10
src/Main.hs
|
@ -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, (<$>), (<*>))
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
{-# LANGUAGE RecordWildCards #-}
|
||||
|
||||
module RSS (renderFeed) where
|
||||
|
||||
import qualified Data.Text as T
|
||||
|
|
Loading…
Reference in a new issue