are there any incentives of making this the default
Disclaimer: the “recommended” GHC in GHCup is not meant to be the latest. It’s supposed to be the safest choice for a wide range of users, especially beginners, student courses and people investing in a new codebase.
9.6 seems to end up being our choice. It’s what we’ve sunk most time into after 8.10. It’s still regressing for highly polymorphic code over 8.10. But at this point (a year after the latest GHC alphas), it appears we don’t see compatibility issues anymore.
While we try to be more aggressive in upgrading, I predict we’ll likely be moving 8.10->9.6->9.10
I hope to ship GHC 9.6 as the default GHC version in Fedora Linus 41 this autumn (sadly didn’t get to it for the coming F40 release due to lack of time, though the ghc9.6 package is there of course).
As a hobbyist, I tend to move to the current Stackage LTS as it is released, and move Stack on to that version of GHC. I mostly build Stack with Stack, or toy projects while investigating Stack issues. I’ve had no problems with GHC 9.6.4.
We tend to bump GHC 2 steps the moment a stable one after is released.
So we went from 8.10 to 9.2 when Stackage switched to 9.4, and we’ll be jumping to 9.6 when Stackage gets an LTS for 9.8
I would not suggest making 9.6.4 recommended. Because of exactly this issue. It is a blocker for some industry users to upgrade.
Upon looking there don’t seem to be many open issues in the 9.6.5 milestone, but maybe someone else can say the level of effort for them. Looks like @wz1000 is assigned to them all. At the very least this issue seems like something else to consider to wait for 9.6.5.
GHC 9.6.4 find a sweet spot between annoying bugs of 9.2 branch now fixed and unsettled changes and new features of 9.8, with support of finally namespaced record fields. Most libs and apps I’m using now support 9.6 and Stack and HLS are now close to Cargo & Rust-analyzer in developer’s experience.
Should those second two have corresponding ghc issues opened? I couldn’t find anything in a quick search of the ghc issue tracker, but maybe someone else knows of these already.