File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -201,11 +201,12 @@ instance Foldable.Foldable (HashMap k) where
201
201
{-# INLINE foldr #-}
202
202
foldl' = Data.HashMap.Base. foldl'
203
203
{-# INLINE foldl' #-}
204
+ #if MIN_VERSION_base(4,8,0)
204
205
null = Data.HashMap.Base. null
205
206
{-# INLINE null #-}
206
207
length = Data.HashMap.Base. size
207
208
{-# INLINE length #-}
208
-
209
+ #endif
209
210
210
211
#if __GLASGOW_HASKELL__ >= 711
211
212
instance (Eq k , Hashable k ) => Semigroup (HashMap k v ) where
Original file line number Diff line number Diff line change @@ -142,12 +142,14 @@ instance Foldable.Foldable HashSet where
142
142
{-# INLINE foldr #-}
143
143
foldl' = Data.HashSet.Base. foldl'
144
144
{-# INLINE foldl' #-}
145
+ #if MIN_VERSION_base(4,8,0)
145
146
toList = Data.HashSet.Base. toList
146
147
{-# INLINE toList #-}
147
148
null = Data.HashSet.Base. null
148
149
{-# INLINE null #-}
149
150
length = Data.HashSet.Base. size
150
151
{-# INLINE length #-}
152
+ #endif
151
153
152
154
#if __GLASGOW_HASKELL__ >= 711
153
155
instance (Hashable a , Eq a ) => Semigroup (HashSet a ) where
Original file line number Diff line number Diff line change 1
1
name : unordered-containers
2
- version : 0.2.10.0
2
+ version : 0.2.10.1
3
3
synopsis : Efficient hashing-based container types
4
4
description :
5
5
Efficient hashing-based container types. The containers have been
@@ -54,7 +54,7 @@ library
54
54
MagicHash,
55
55
BangPatterns
56
56
57
- ghc-options : -Wall -O2 -fwarn-tabs -ferror-spans
57
+ ghc-options : -Wall -O2 -fwarn-tabs -ferror-spans
58
58
59
59
if impl (ghc < 8.2 )
60
60
-- This is absolutely necessary (but not sufficient) for correctness due to
You can’t perform that action at this time.
0 commit comments