Good rule of thumb when a Haskell blog says “never do X” - ignore the directive to never do X. It’s not hard to assess your programs as-is…you don’t need hard rules like that.
A good example of this is the often-linked “What’s wrong with Implicit Params?”
The example given to illustrate the problem is pathological and definitely not a strong enough argument to not use -XImplicitParams
.
And the conceptual argument about incoherence feels almost like a non sequitur…incoherence is on the tin and not inherently a bad thing even if it sounds like a bad word.
If I read this advice and just filed away “-XImplicitParams
= bad” in my brain, I would have become a worse Haskeller. There are plenty of fun and useful ways to use IPs that I would’ve missed out on.