-
Notifications
You must be signed in to change notification settings - Fork 61
Labels
C-Low Hanging FruitIdeal issue for new contributors.Ideal issue for new contributors.S-Nice to haveThe bug fix or feature would be nice but doesn't currently have much negative impact.The bug fix or feature would be nice but doesn't currently have much negative impact.Z-Developer ExperienceThis issue seeks to make life easier for developers writing Scenarios or other Swarm code.This issue seeks to make life easier for developers writing Scenarios or other Swarm code.
Description
Is your feature request related to a problem? Please describe.
We now support GHC 9.6+ versions. That means we should be able to use GHC2021 in Cabal file.
The GHC2024 is available in GHC 9.10, but we can add the extensions manually to common stanza.
We already use LambdaCase and GADTs extensively and the new additions would fit the codebase nicely.
See the proposal (link) which documents the reasoning for inclusion.
Describe the solution you'd like
- Use the
GHC2021language edition in Cabal file. - Add the additions from
GHC2024to thecommonstanza - Check if Fourmolu/HLint needs to be told about default extensions
- Remove the now default extensions from LANGUAGE pramas in files.
- Enjoy the modern Haskell. 😎
Describe alternatives you've considered
We could conservatively stay on our semi-GHC2021 using the common stanza, but that leads to noise both in the Cabal file and in individual Haskell files.
Additional context
Metadata
Metadata
Assignees
Labels
C-Low Hanging FruitIdeal issue for new contributors.Ideal issue for new contributors.S-Nice to haveThe bug fix or feature would be nice but doesn't currently have much negative impact.The bug fix or feature would be nice but doesn't currently have much negative impact.Z-Developer ExperienceThis issue seeks to make life easier for developers writing Scenarios or other Swarm code.This issue seeks to make life easier for developers writing Scenarios or other Swarm code.