diff options
Diffstat (limited to 'packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs')
-rw-r--r-- | packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs b/packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs index 37f7da2..f0bddd0 100644 --- a/packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs +++ b/packages/tests/src/Numeric/LinearAlgebra/Tests/Instances.hs | |||
@@ -1,4 +1,4 @@ | |||
1 | {-# LANGUAGE FlexibleContexts, UndecidableInstances, FlexibleInstances, ScopedTypeVariables #-} | 1 | {-# LANGUAGE CPP, FlexibleContexts, UndecidableInstances, FlexibleInstances, ScopedTypeVariables #-} |
2 | ----------------------------------------------------------------------------- | 2 | ----------------------------------------------------------------------------- |
3 | {- | | 3 | {- | |
4 | Module : Numeric.LinearAlgebra.Tests.Instances | 4 | Module : Numeric.LinearAlgebra.Tests.Instances |
@@ -32,7 +32,9 @@ import Test.QuickCheck(Arbitrary,arbitrary,choose,vector,sized,shrink) | |||
32 | import GHC.TypeLits | 32 | import GHC.TypeLits |
33 | import Data.Proxy (Proxy(..)) | 33 | import Data.Proxy (Proxy(..)) |
34 | import qualified Numeric.LinearAlgebra.Static as Static | 34 | import qualified Numeric.LinearAlgebra.Static as Static |
35 | 35 | #if MIN_VERSION_base(4,11,0) | |
36 | import Prelude hiding ((<>)) | ||
37 | #endif | ||
36 | 38 | ||
37 | shrinkListElementwise :: (Arbitrary a) => [a] -> [[a]] | 39 | shrinkListElementwise :: (Arbitrary a) => [a] -> [[a]] |
38 | shrinkListElementwise [] = [] | 40 | shrinkListElementwise [] = [] |