Skip to content

Commit f25d8ac

Browse files
committed
Add missing docs
1 parent 5ec883f commit f25d8ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Data/HashMap/Base.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,7 @@ mapWithKey f = go
696696
A.map' (\ (L k v) -> L k (f k v)) ary
697697
{-# INLINE mapWithKey #-}
698698

699+
-- | /O(n)/ Transform this map by applying a function to every value.
699700
map :: (v1 -> v2) -> HashMap k v1 -> HashMap k v2
700701
map f = mapWithKey (const f)
701702
{-# INLINE map #-}

0 commit comments

Comments
 (0)