Skip to content

Commit

Permalink
Fix typo in documentation of shrinkMap
Browse files Browse the repository at this point in the history
  • Loading branch information
tarleb authored Feb 26, 2021
1 parent 2dcfbf6 commit adde3d5
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 @@ -1119,7 +1119,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 adde3d5

Please sign in to comment.