Skip to content

Commit

Permalink
Merge pull request #329 from tarleb/patch-1
Browse files Browse the repository at this point in the history
Fix typo in documentation of shrinkMap
  • Loading branch information
nick8325 authored Jun 29, 2021
2 parents f14544a + adde3d5 commit 5e2c974
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Test/QuickCheck/Arbitrary.hs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ shrinkNothing _ = []
-- shrinkOrderedList :: (Ord a, Arbitrary a) => [a] -> [[a]]
-- shrinkOrderedList = shrinkMap sort id
--
-- shrinkSet :: (Ord a, Arbitrary a) => Set a -> Set [a]
-- shrinkSet :: (Ord a, Arbitrary a) => Set a -> [Set a]
-- shrinkSet = shrinkMap fromList toList
-- @
shrinkMap :: Arbitrary a => (a -> b) -> (b -> a) -> b -> [b]
Expand Down

0 comments on commit 5e2c974

Please sign in to comment.