Skip to content

Commit 5d3b409

Browse files
committed
Add size information to hashmap constructors
1 parent efa43a2 commit 5d3b409

File tree

3 files changed

+325
-239
lines changed

3 files changed

+325
-239
lines changed

Data/HashMap/Array.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ updateM ary idx b =
388388
where !count = length ary
389389
{-# INLINE updateM #-}
390390

391-
-- | /O(n)/ Update the element at the given positio in this array, by
391+
-- | /O(n)/ Update the element at the given position in this array, by
392392
-- applying a function to it. Evaluates the element to WHNF before
393393
-- inserting it into the array.
394394
updateWith' :: Array e -> Int -> (e -> e) -> Array e

0 commit comments

Comments
 (0)