3 ms·
Along the same lines as worrying about someone redefining `Array.isArray`, someone could compile your Haskell with its own prelude, including their own definiti
by rictic 10y ago
Along the same lines as worrying about someone redefining `Array.isArray`, someone could compile your Haskell with its own prelude, including their own definition for `Int`.
There's a point at which the pursuit of purity becomes the pursuit of sanctity, in the sense of Haidt's moral foundations (https://en.wikipedia.org/wiki/Moral_foundations_theory https://en.wikipedia.org/wiki/Moral_foundations_theory). It's not about a rational tradeoff at that point, it's about easing an anxiety and sense of uncleanliness. I say this because I'm prone to doing it too, and I've noticed that I can spend a lot more time and energy than is worthwhile "cleaning" code.