[Haskell-cafe] The amount of CPP we have to use is getting out of hand
Andrey Chudnov
achudnov at gmail.com
Fri Jan 9 22:45:25 UTC 2015
Johan,
I hear and agree. Even though I've never used CPP in my packages, I've
read code that does ---and it's horrible. And I, too, have experienced
new GHC stable versions breaking foundational libraries, including
Cabal. But, my impression was that most of these breakages are due to
certain GHC extensions being deprecated, and not because the compiler
stops respecting the standard. Is my understanding correct? If so, then
why not disable extensions and limit yourself to Haskell 2010? Yes, you
get used to the good stuff quickly, and it's painful to give it up ---
but isn't that what standards are for?
More information about the Haskell-Cafe
mailing list