diff options
Diffstat (limited to 'packages/base/src/Internal/Modular.hs')
-rw-r--r-- | packages/base/src/Internal/Modular.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/base/src/Internal/Modular.hs b/packages/base/src/Internal/Modular.hs index f3c59a8..9d51444 100644 --- a/packages/base/src/Internal/Modular.hs +++ b/packages/base/src/Internal/Modular.hs | |||
@@ -1,3 +1,4 @@ | |||
1 | {-# LANGUAGE CPP #-} | ||
1 | {-# LANGUAGE DataKinds #-} | 2 | {-# LANGUAGE DataKinds #-} |
2 | {-# LANGUAGE KindSignatures #-} | 3 | {-# LANGUAGE KindSignatures #-} |
3 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} | 4 | {-# LANGUAGE GeneralizedNewtypeDeriving #-} |
@@ -38,13 +39,20 @@ import Internal.Util(Normed(..),Indexable(..), | |||
38 | gaussElim, gaussElim_1, gaussElim_2, | 39 | gaussElim, gaussElim_1, gaussElim_2, |
39 | luST, luSolve', luPacked', magnit, invershur) | 40 | luST, luSolve', luPacked', magnit, invershur) |
40 | import Internal.ST(mutable) | 41 | import Internal.ST(mutable) |
42 | #if MIN_VERSION_base(4,11,0) | ||
43 | import GHC.TypeLits hiding (Mod) | ||
44 | #else | ||
41 | import GHC.TypeLits | 45 | import GHC.TypeLits |
46 | #endif | ||
42 | import Data.Proxy(Proxy) | 47 | import Data.Proxy(Proxy) |
43 | import Foreign.ForeignPtr(castForeignPtr) | 48 | import Foreign.ForeignPtr(castForeignPtr) |
44 | import Foreign.Storable | 49 | import Foreign.Storable |
45 | import Data.Ratio | 50 | import Data.Ratio |
46 | import Data.Complex | 51 | import Data.Complex |
47 | import Control.DeepSeq ( NFData(..) ) | 52 | import Control.DeepSeq ( NFData(..) ) |
53 | #if MIN_VERSION_base(4,11,0) | ||
54 | import Prelude hiding ((<>)) | ||
55 | #endif | ||
48 | 56 | ||
49 | 57 | ||
50 | 58 | ||