stan icon indicating copy to clipboard operation
stan copied to clipboard

🕵️ Haskell STatic ANalyser

Results 92 stan issues
Sort by recently updated
recently updated
newest added

It would be really nice if Stan can also include GHC warnings to its report. Having GHC proposals like [this one](https://github.com/ghc-proposals/ghc-proposals/pull/325) implemented will help a lot with implementing this feature.

enhancement
nice to have :nail_care:

Stan can output some false-positive results, when it sees the inspection, but it's not there: ```haskell foo = case xs of [] -> 0 _ -> head xs ``` We...

hardcore :rage4:
analysis :alembic:

As this information is not in the HIE files, we need to investigate first how we can get this information first. Then we need to come up with the algorithm...

question
hardcore :rage4:

Sometimes, when the code is polymorphic, it's very easy to use the wrong order of fields: ```haskell data User = User { userName :: !Text , userAge :: !Int }...

hardcore :rage4:
inspection

idea :bulb:
hardcore :rage4:
inspection

As a toc for observations section

question
idea :bulb:
nice to have :nail_care:
report :notebook:

This could be done at least for [STAN-0211](https://github.com/kowainik/stan/wiki/All-Inspections#STAN-0211) and [STAN-0215](https://github.com/kowainik/stan/wiki/All-Inspections#STAN-0215)

hie
inspection

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...

question
inspection
opt-in

Users may want to introduce their own inspections (e.g. forbidding their partial functions). It would be nice to be able to support this API as well. My first thoughts (not...

question
nice to have :nail_care:
config :gear:

### containers - [ ] `Data.Map.(!)` - [ ] `Data.IntMap.(!)` ### text All functions as for lists, and much more. Also, for both `Text` types: strict `Text` and lazy `Text`....

enhancement
essential :bread:
opt-in