Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stanza polyfill for GHC2024 #1100

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

alexfmpe
Copy link
Collaborator

@alexfmpe alexfmpe commented Oct 6, 2024

On top of #1067

From https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/control.html :

Currently, GHC2021 is used by default if no other language edition is explicitly requested, for backwards compatibility purposes. Since later versions of GHC may use a different language edition by default, users are advised to declare a language edition explicitly. Using GHC2024 is recommended for new code.

These stanzas allow one to easily use GHC2021/GHC2024 while still building against 8.6/8.10

I have:

  • Based work on latest develop branch
  • Followed the contribution guide
  • Looked for lint in my changes with hlint . (lint found code you did not write can be left alone)
  • Run the test suite: $(nix-build -A selftest --no-out-link)
  • Updated the changelog
  • (Optional) Run CI tests locally: nix-build release.nix -A build.x86_64-linux --no-out-link (or x86_64-darwin on macOS)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant