Laws for text map type classes?
Open
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 215
- Forks
- 49
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 17
Description
Getter:
keys-get consistency: forAll { (carrier) => keys(carrier).forall(key => get(carrier, key).isDefined)?
Updater:
idempotence?: forAll { (carrier, k, v) => updated(carrier, k, v) === updated(updated(carrier, k, v), k, v)
Contributor guide
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 locating the text map type classes and their existing law or test coverage in the repository. Check whether the proposed getter consistency and updater idempotence properties apply, then add tests for the applicable laws and run the relevant test suite to confirm they hold.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- observability, testing-qa
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100