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/base/src/Internal/Convolution.hs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packages/base/src/Internal/Convolution.hs') diff --git a/packages/base/src/Internal/Convolution.hs b/packages/base/src/Internal/Convolution.hs index 384fdf8..004e1ff 100644 --- a/packages/base/src/Internal/Convolution.hs +++ b/packages/base/src/Internal/Convolution.hs @@ -1,3 +1,4 @@ +{-# LANGUAGE CPP #-} {-# LANGUAGE FlexibleContexts #-} ----------------------------------------------------------------------------- {- | @@ -23,6 +24,9 @@ import Internal.Numeric import Internal.Element import Internal.Conversion import Internal.Container +#if MIN_VERSION_base(4,11,0) +import Prelude hiding ((<>)) +#endif vectSS :: Element t => Int -> Vector t -> Matrix t -- cgit v1.2.3