diff options
-rw-r--r-- | TazBlog.cabal | 12 | ||||
-rw-r--r-- | src/Blog.hs | 7 | ||||
-rw-r--r-- | src/BlogDB.hs | 8 | ||||
-rw-r--r-- | src/Locales.hs | 4 | ||||
-rw-r--r-- | src/Main.hs | 10 | ||||
-rw-r--r-- | src/RSS.hs | 2 |
6 files changed, 11 insertions, 32 deletions
diff --git a/TazBlog.cabal b/TazBlog.cabal index bd903c67635a..2ab09982303a 100644 --- a/TazBlog.cabal +++ b/TazBlog.cabal @@ -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 diff --git a/src/Blog.hs b/src/Blog.hs index 67adf0cd3cf4..00ba6c94d00d 100644 --- a/src/Blog.hs +++ b/src/Blog.hs @@ -1,10 +1,3 @@ -{-# LANGUAGE DeriveDataTypeable #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE QuasiQuotes #-} -{-# LANGUAGE RecordWildCards #-} -{-# LANGUAGE ScopedTypeVariables #-} -{-# LANGUAGE TemplateHaskell #-} - module Blog where import BlogDB diff --git a/src/BlogDB.hs b/src/BlogDB.hs index 21d887297ff5..e2787794c344 100644 --- a/src/BlogDB.hs +++ b/src/BlogDB.hs @@ -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) diff --git a/src/Locales.hs b/src/Locales.hs index 7fd874c1d07f..206545d447d8 100644 --- a/src/Locales.hs +++ b/src/Locales.hs @@ -1,7 +1,3 @@ -{-# LANGUAGE DeriveDataTypeable #-} -{-# LANGUAGE OverloadedStrings #-} -{-# LANGUAGE ScopedTypeVariables #-} - module Locales where import Data.Data (Data, Typeable) diff --git a/src/Main.hs b/src/Main.hs index 67440e6f0eb9..2579d576964a 100644 --- a/src/Main.hs +++ b/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, (<$>), (<*>)) diff --git a/src/RSS.hs b/src/RSS.hs index 2309b1297c53..6a244129fec6 100644 --- a/src/RSS.hs +++ b/src/RSS.hs @@ -1,5 +1,3 @@ -{-# LANGUAGE RecordWildCards #-} - module RSS (renderFeed) where import qualified Data.Text as T |