Enforce GHC >= 7.10 and fix Stack warnings

This commit is contained in:
Joe Nelson
2015-10-23 10:33:27 -07:00
parent 8b28b33da3
commit 7692693aae
5 changed files with 30 additions and 20 deletions
-3
View File
@@ -18,9 +18,6 @@ module PostgREST.Auth (
, tokenJWT
) where
--line needed for ghc 7.8
import Data.Functor ((<$>))
import Data.Aeson (Value (..), Object)
import Data.Aeson.Types (emptyObject, emptyArray)
import Data.Vector as V (null, head)
-3
View File
@@ -3,9 +3,6 @@
module PostgREST.Middleware where
-- needed for ghc 7.8
import Data.Functor ((<$>))
import Data.Maybe (fromMaybe, isNothing)
import Data.Monoid
import Data.Text
-4
View File
@@ -4,10 +4,6 @@ module PostgREST.Parsers
where
import Control.Applicative hiding ((<$>))
--lines needed for ghc 7.8
import Data.Functor ((<$>))
import Data.Traversable (traverse)
import Control.Monad (join)
import Data.List (delete, find)
import Data.Maybe