From e83e2023da77ecaa9aaba15bc9bd48757f73b3a9 Mon Sep 17 00:00:00 2001 From: Hiromi ISHII Date: Mon, 25 Dec 2017 20:23:13 +0900 Subject: Workaround for GHC-8.4.x * Adds missing Semigroup instances * Adds `semigroups` to the deps of `hmatrix` * Hides conflicting names from import list with base >= 4.11 * `(Prelude.<>)` and `GHC.TypeNats.Mod` --- packages/tests/src/Numeric/LinearAlgebra/Tests.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/tests/src/Numeric/LinearAlgebra/Tests.hs') diff --git a/packages/tests/src/Numeric/LinearAlgebra/Tests.hs b/packages/tests/src/Numeric/LinearAlgebra/Tests.hs index 6d54f4d..2aefc87 100644 --- a/packages/tests/src/Numeric/LinearAlgebra/Tests.hs +++ b/packages/tests/src/Numeric/LinearAlgebra/Tests.hs @@ -39,7 +39,11 @@ import Numeric.LinearAlgebra.Tests.Properties import Test.HUnit hiding ((~:),test,Testable,State) import System.Info import Data.List(foldl1') +#if MIN_VERSION_base(4,11,0) +import Prelude hiding ((^),(<>)) +#else import Prelude hiding ((^)) +#endif import qualified Prelude import System.CPUTime import System.Exit -- cgit v1.2.3