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 efa43a2 commit 5d3b409Copy full SHA for 5d3b409
Data/HashMap/Array.hs
@@ -388,7 +388,7 @@ updateM ary idx b =
388
where !count = length ary
389
{-# INLINE updateM #-}
390
391
--- | /O(n)/ Update the element at the given positio in this array, by
+-- | /O(n)/ Update the element at the given position in this array, by
392
-- applying a function to it. Evaluates the element to WHNF before
393
-- inserting it into the array.
394
updateWith' :: Array e -> Int -> (e -> e) -> Array e
0 commit comments