3 ms·
Such a tool exists. I've had hlint tell me many times how to do something in a better way. At some point I had it hooked into my IDE, so it would mark improvabl
by runeks 10y ago
Such a tool exists. I've had hlint tell me many times how to do something in a better way. At some point I had it hooked into my IDE, so it would mark improvable code in yellow.
Especially in the first year I learned a lot of new Haskell syntax and functions just from its suggestions.
- harveywi 10y agoIf you don't mind me asking, which IDE do you use?
- runeks 10y agoOh, yeah, I should have mentioned that: IntelliJ IDEA with the Haskforce plugin. The plugin isn't maintained any longer, though, so it's not the best solution, but it was perfect when both ghc-mod and hlint worked. ghc-mod still works, because I can't go back to coding without it, speeds everything up so much to have instant compiler feedback. For example, there is this fatal, unresolved bug that no one knows how to fix: https://github.com/carymrobbins/intellij-haskforce/issues/285 https://github.com/carymrobbins/intellij-haskforce/issues/28... EDIT: It's working again (for projects that do not exhibit above bug): http://i.imgur.com/jPo4Tas.png http://i.imgur.com/jPo4Tas.png