diff --git a/TazBlog.cabal b/TazBlog.cabal index bd903c676..2ab099823 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 67adf0cd3..00ba6c94d 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 21d887297..e2787794c 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 7fd874c1d..206545d44 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 67440e6f0..2579d5769 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 2309b1297..6a244129f 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