kowainik / kowainik/stan

Suggest `stimes` instead of `replicate` when appropriate

Open
#301 0 comments 1 reaction 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.