Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add function
shrinkBoundedEnum
to Test.QuickCheck.Extra
.
Though the `QuickCheck` library provides a handy `arbitraryBoundedEnum` function, it currently doesn't provide a `shrinkBoundedEnum` counterpart. Users have asked for a function like this here: nick8325/quickcheck#343 This commit adds our own version, for now. Perhaps, later on, we can submit a PR to the `QuickCheck` repository to add this function, and delete our own version.
- Loading branch information