stan
stan copied to clipboard
🕵️ Haskell STatic ANalyser
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.
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...
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...
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 }...
As a toc for observations section
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)
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...
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...
### containers - [ ] `Data.Map.(!)` - [ ] `Data.IntMap.(!)` ### text All functions as for lists, and much more. Also, for both `Text` types: strict `Text` and lazy `Text`....