curry-language-server
curry-language-server copied to clipboard
Add suggestion quick fixes
E.g.
- Pointfree conversions
- Eta-reductions (
\x -> f xtof) - Const (
\_ -> xtoconst x) - Void (
x >> return ()tovoid x) - ...
- Eta-reductions (
- Common library functions (
maybe x id mtofromMaybe x m,fst . runStatetoevalState,snd . runStatetoexecState,foldr1 (?)toanyOf, ...) - Redundant
dos (do { x }tox) - Merging adjacent
lets - Warn (or at least 'info') about
Debug.Traceimports - ...
These suggestions could be similar to what hlint suggests.
These suggestions could also be factored out into a separate linting tool that curry-language-server then integrated (i.e. depends on).