We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c118c4 commit 1256cf3Copy full SHA for 1256cf3
Data/HashMap/Internal/Array.hs
@@ -207,8 +207,8 @@ new _n@(I# n#) b =
207
new_ :: Int -> ST s (MArray s a)
208
new_ n = new n undefinedElem
209
210
--- when shrinkSmallMutableArray# is available, the returned array is the same as the array given, as it is shrunk in place
211
--- otherwise a copy is made
+-- | When 'Exts.shrinkSmallMutableArray#' is available, the returned array is the same as the array given, as it is shrunk in place.
+-- Otherwise a copy is made.
212
shrink :: MArray s a -> Int -> ST s (MArray s a)
213
#if MIN_VERSION_GLASGOW_HASKELL(8, 10, 7, 0)
214
shrink mary _n@(I# n#) =
0 commit comments