You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cabal passes -XHaskell98 to GHC by default. In practice this can be observed e.g. by getting warnings about pattern guards (which are H2010 but not H98).
Leaving this as a default forever would be at least strange.
Removing this default might break some old packages — how do we feel about that?
As a heuristic, we can enable Haskell98 when the package depends on the haskell98 package (and doesn't explicitly specify the language revision).
The text was updated successfully, but these errors were encountered:
I just noticed that if I specify Cabal-Version: >= 1.10, it asks to give the default language for each component. I guess that's the correct behaviour.
Cabal passes -XHaskell98 to GHC by default. In practice this can be observed e.g. by getting warnings about pattern guards (which are H2010 but not H98).
Leaving this as a default forever would be at least strange.
Removing this default might break some old packages — how do we feel about that?
As a heuristic, we can enable Haskell98 when the package depends on the haskell98 package (and doesn't explicitly specify the language revision).
The text was updated successfully, but these errors were encountered: