3 ms·
> they'll get a hint to simplify it and eventually they'll learn the idiomatic way. I can confirm that, the recent IntelliJ Haskell (https://plugins.jetbrains.
by ghostwriter 6y ago
> they'll get a hint to simplify it and eventually they'll learn the idiomatic way.
I can confirm that, the recent IntelliJ Haskell (https://plugins.jetbrains.com/plugin/8258-intellij-haskell https://plugins.jetbrains.com/plugin/8258-intellij-haskell) does a pretty good job notifying beginners about redundant "do" blocks and eta-reduction possibilities (with a help from HLint). The redundant blocks are even highlighted in real-time right on the editor.