Suggest `stimes` instead of `replicate` when appropriate
Open
inspection
nice to have :nail_care:
- Dominant language
- Haskell
- Stars
- 597
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
`stimes` usually has a much better implementation for `Monoid`s
Contributor guide
Research direction
No file, test, or entry point is named. Start by locating the analyzer rule that reports uses of `replicate`, then inspect how it determines when a `Monoid` makes `stimes` preferable. Done means the appropriate cases produce a `stimes` suggestion and existing analyzer tests pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100