Skip to content

Commit 3a7880c

Browse files
committed
Fix filterM comment
1 parent d63e95d commit 3a7880c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Data/Set/Monad.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ mapM_ :: (Ord a,Ord b,Monad m)
2222
=> (a -> m b) -> Set a -> m ()
2323
mapM_ f = L.mapM_ f . S.toList
2424

25-
-- | Map over a 'Set' in a monad.
25+
-- | Filter elements of a 'Set' in a monad.
2626
filterM :: (Ord a,Monad m)
2727
=> (a -> m Bool) -> Set a -> m (Set a)
2828
filterM f = liftM S.fromList . L.filterM f . S.toList

0 commit comments

Comments
 (0)