hlint
Tool for suggesting improvements to Haskell code. More information: http://hackage.haskell.org/package/hlint.
-
Display suggestions for a given file:
hlint {{path/to/file}} options
-
Check all Haskell files and generate a report:
hlint {{path/to/directory}} --report
-
Automatically apply most suggestions:
hlint {{path/to/file}} --refactor
-
Display additional options:
hlint {{path/to/file}} --refactor-options
-
Generate a settings file ignoring all outstanding hints:
hlint {{path/to/file}} --default > {{.hlint.yaml}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.