nick8325 / nick8325/quickcheck
Add a Bitwise type-level modifier
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 790
- Forks
- 130
- Avg merge
- 16h 41m
- Merged PRs (30d)
- 2
Description
This is just a little feature request so I don't forget it. If I end up implementing it I'll report back or do a PR if this would be useful.
The idea is if we're testing functions that make use of some bit twiddling, operate on bytes of a word, etc. we might like an Arbitrary instance for instances of Data.Bits.Bits that implements a shrink by perhaps zeroing individual bytes of a word, and then maybe zeroing individual bits (or something; I haven't thought much about this yet).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the proposed Data.Bits.Bits Arbitrary instance and its possible byte- and bit-level shrinking behavior. Determine the intended scope and acceptance criteria before identifying the relevant QuickCheck implementation and tests; the issue currently does not name files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100