I'm only a few weeks in to programming with Haskell. I was told to use HLint to improve my code. The problem is I can't figure out how to run HLint against my .hs file. I read the documentation and I was able to install it using cabal install hlint
. The next step is running HLint using hlint myfile.hs
. I can't figure our where to type this line. Neither cmd nor ghci will let me run the command. What am I missing here?
I'm using windows.
edit:
I just removed Haskell and installed it again on my system. I think the problem is with my Haskell installation. Thats what I'm getting when I try to install HLint again:
The file does exsist in C:\Users\PCPCPCCP\AppData\Roaming\cabal\setup-exe-cache
edit2:
Seems like hlint wasn't installed correctly. Even after reinstalling the haskell platform I am not able to install hlint it on my system. I did work on my virtual machine however...