diff --git a/LICENSE b/LICENSE
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2014, Sven Panne
+Copyright (c) 2014-2018, Sven Panne
 All rights reserved.
 
 Redistribution and use in source and binary forms, with or without
diff --git a/Tensor.cabal b/Tensor.cabal
--- a/Tensor.cabal
+++ b/Tensor.cabal
@@ -1,5 +1,5 @@
 name: Tensor
-version: 1.1.0.1
+version: 1.1.0.2
 synopsis: Tensor data types
 description:
   This package contains tensor data types and their instances for some basic
@@ -12,15 +12,31 @@
 maintainer: Sven Panne <svenpanne@gmail.com>
 category: Data
 build-type: Simple
-cabal-version: >=1.10
+tested-with:
+  GHC == 7.0.4
+  GHC == 7.2.2
+  GHC == 7.4.2
+  GHC == 7.6.3
+  GHC == 7.8.4
+  GHC == 7.10.3
+  GHC == 8.0.2
+  GHC == 8.2.2
+  GHC == 8.4.3
+  GHC == 8.6.1
+  GHC == 8.7.*
+cabal-version: >= 1.10
 
 library
   exposed-modules: Data.Tensor
   build-depends: base >= 3 && < 5
   default-language: Haskell2010
-  other-extensions: DeriveDataTypeable
+  other-extensions:
+    CPP
+    DeriveDataTypeable
   hs-Source-Dirs: src
   ghc-options: -Wall
+  if impl(ghc > 8)
+    ghc-options: -Wcompat
 
 source-repository head
   type: git
diff --git a/src/Data/Tensor.hs b/src/Data/Tensor.hs
--- a/src/Data/Tensor.hs
+++ b/src/Data/Tensor.hs
@@ -1,8 +1,8 @@
-{-# LANGUAGE DeriveDataTypeable #-}
+{-# LANGUAGE CPP, DeriveDataTypeable #-}
 --------------------------------------------------------------------------------
 -- |
 -- Module      :  Data.Tensor
--- Copyright   :  (c) Sven Panne 2014
+-- Copyright   :  (c) Sven Panne 2014-2018
 -- License     :  BSD3
 -- 
 -- Maintainer  :  Sven Panne <svenpanne@gmail.com>
@@ -19,9 +19,12 @@
    Vector1(..), Vector2(..), Vector3(..), Vector4(..)
 ) where
 
+#if !MIN_VERSION_base(4,8,0)
 import Control.Applicative ( Applicative(..) )
+import Data.Foldable ( Foldable(..) )
+#endif
 import Control.Monad ( ap )
-import Data.Foldable ( Foldable(..), foldlM )
+import Data.Foldable ( foldlM )
 import Data.Ix ( Ix )
 import Data.Traversable ( Traversable(..), mapAccumL )
 import Data.Typeable ( Typeable )
