diff options
author | Hiromi ISHII <konn.jinro@gmail.com> | 2017-12-25 20:23:13 +0900 |
---|---|---|
committer | Hiromi ISHII <konn.jinro@gmail.com> | 2017-12-25 20:23:13 +0900 |
commit | e83e2023da77ecaa9aaba15bc9bd48757f73b3a9 (patch) | |
tree | f7aae740fa7129c4641cf05a9e00260e48cd92bb /packages/tests/src/Numeric/LinearAlgebra/Tests.hs | |
parent | 87c7682bbfd17308749d5e9568f1ffa25390ce79 (diff) |
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`
Diffstat (limited to 'packages/tests/src/Numeric/LinearAlgebra/Tests.hs')
-rw-r--r-- | packages/tests/src/Numeric/LinearAlgebra/Tests.hs | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
39 | import Test.HUnit hiding ((~:),test,Testable,State) | 39 | import Test.HUnit hiding ((~:),test,Testable,State) |
40 | import System.Info | 40 | import System.Info |
41 | import Data.List(foldl1') | 41 | import Data.List(foldl1') |
42 | #if MIN_VERSION_base(4,11,0) | ||
43 | import Prelude hiding ((^),(<>)) | ||
44 | #else | ||
42 | import Prelude hiding ((^)) | 45 | import Prelude hiding ((^)) |
46 | #endif | ||
43 | import qualified Prelude | 47 | import qualified Prelude |
44 | import System.CPUTime | 48 | import System.CPUTime |
45 | import System.Exit | 49 | import System.Exit |