kowainik / kowainik/stan

Clear comparison order for complex range checks

Open
#298 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

Suggest `0 < x && x < 10` instead of `x > 0 && x < 10`.

Contributor guide

Open the contributing guide

Research direction

Start by locating the analyzer entry point for complex range checks and inspect how comparison suggestions are generated. Confirm the expected diagnostic for `x > 0 && x < 10`, then add coverage showing the preferred `0 < x && x < 10` ordering.

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.