diff options
Diffstat (limited to 'IntMapClass.hs')
-rw-r--r-- | IntMapClass.hs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/IntMapClass.hs b/IntMapClass.hs index 77ce16b..81382aa 100644 --- a/IntMapClass.hs +++ b/IntMapClass.hs | |||
@@ -15,11 +15,7 @@ import Data.Traversable ( Traversable ) | |||
15 | import Data.Monoid ( Monoid ) | 15 | import Data.Monoid ( Monoid ) |
16 | import Control.DeepSeq ( NFData ) | 16 | import Control.DeepSeq ( NFData ) |
17 | import Control.Applicative ( Applicative ) | 17 | import Control.Applicative ( Applicative ) |
18 | #if MIN_VERSION_base(4,7,0) | ||
19 | import Data.Coerce | 18 | import Data.Coerce |
20 | #else | ||
21 | class Coercible a b where coerce :: a -> b | ||
22 | #endif | ||
23 | 19 | ||
24 | newtype IMap k a = IMap { intmap :: IntMap a } | 20 | newtype IMap k a = IMap { intmap :: IntMap a } |
25 | deriving | 21 | deriving |