Skip to content

Commit b0210c8

Browse files
Update Data/HashMap/Internal/Array.hs
Co-authored-by: Simon Jakobi <[email protected]>
1 parent 1256cf3 commit b0210c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Data/HashMap/Internal/Array.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ new_ n = new n undefinedElem
210210
-- | When 'Exts.shrinkSmallMutableArray#' is available, the returned array is the same as the array given, as it is shrunk in place.
211211
-- Otherwise a copy is made.
212212
shrink :: MArray s a -> Int -> ST s (MArray s a)
213-
#if MIN_VERSION_GLASGOW_HASKELL(8, 10, 7, 0)
213+
#if __GLASGOW_HASKELL__ >= 810
214214
shrink mary _n@(I# n#) =
215215
CHECK_GT("shrink", _n, (0 :: Int))
216216
CHECK_LE("shrink", _n, (lengthM mary))

0 commit comments

Comments
 (0)