Linting¶
HLint¶
To run HLint you need it’s binary, e.g. by executing:
To run it on the whole project (Warning: This takes a long time!):
To run it on a sub-project:
Stan¶
To run Stan, you need it’s binary compiled by the same GHC version as used in the project.
Stan depends on hie database files that are created during compilation. To generate them for all packages add this to your cabal.project.local
file:
Of course, you can append the ghc-options
to the respective entry of a package or add a new one:
To analyze a sub-project with stan: