[RFC] Inspection: function in `where` without type signature
Open
inspection
opt-in
question
- Dominant language
- Haskell
- Stars
- 597
- Forks
- 53
- PR merge metrics
- No merged PRs in 30d
Description
Having functions in `where` blocks without type signatures makes code harder to understand and can lead to subtle compilation errors without a clear understanding of how to fix them. Should implement inspection for this?
Contributor guide
Research direction
Start with the RFC question in this issue and review Stan’s existing inspection conventions before defining the scope. Establish how functions in where blocks should be identified, what diagnostic should be reported, and which cases count as complete; add coverage for the chosen behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100