typelevel / typelevel/typelevel-scalafix
Rewrite rules for `sequence_`, `traverse_` and their counterparts
Open
Nobody has claimed this yet.
question
- Dominant language
- Scala
- Stars
- 27
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
Since Cats v2.13.0 the following rewrites can be recommended:
sequence_->sequenceVoidtraverse_->traverseVoidnonEmptySequence_->nonEmptySequenceVoidnonEmptyTraverse_->nonEmptyTraverseVoidparSequence_->parSequenceVoidparTraverse_->parTraverseVoidparNonEmptySequence_->parNonEmptySequenceVoidparNonEmptyTraverse_->parNonEmptyTraverseVoid
See typelevel/cats#4611 and typelevel/cats#4682 for more details.
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 existing Scalafix rewrite rules and their tests for sequence_ and traverse_ methods. Use the Cats references in the issue to confirm the v2.13.0 naming, then cover all eight listed rewrites and verify that the corresponding tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100