Skip to content

Commit 75bbe12

Browse files
authored
Add since-annotation for Data.Map.Strict.alterF (#735)
…as requested in #252 (comment).
1 parent 97fe43c commit 75bbe12

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

containers/src/Data/Map/Strict/Internal.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -854,6 +854,8 @@ alter = go
854854
--
855855
-- Note: 'alterF' is a flipped version of the @at@ combinator from
856856
-- @Control.Lens.At@.
857+
--
858+
-- @since 0.5.8
857859
alterF :: (Functor f, Ord k)
858860
=> (Maybe a -> f (Maybe a)) -> k -> Map k a -> f (Map k a)
859861
alterF f k m = atKeyImpl Strict k f m

0 commit comments

Comments
 (0)