Test.Util.Shrink
Description
Utility functions for defining QuickCheck's shrink
QuickCheck
shrink
andId ∷ (a → [a]) → a → [a] Source #
Add the argument as the last element of the output
dropId ∷ [a] → [a] Source #
Drop the last element
If every source list in a comprehension uses andId, then the last element will be a copy of the initial input.
andId