Skip to content

Support GHC 9.10 #218

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

Merged
merged 3 commits into from
Feb 23, 2025
Merged

Support GHC 9.10 #218

merged 3 commits into from
Feb 23, 2025

Conversation

yutotakano
Copy link
Member

Added the new base version as supported, and a tested-with clause for GHC 9.10 for Hackage visibility and the CI matrix.

Although that was enough to build on GHC 9.10, for future-proofness I've also bumped the upper bounds for dependencies where possible since the changelogs for the bumps didn't affect us.

@yutotakano yutotakano marked this pull request as draft February 23, 2025 14:08
foldl' has been added to Prelude in GHC 9.10, which makes the explicit
import of Data.Foldable (foldl') redundant in the gateway cache module.

We can't just remove the import line since it's needed for GHC < 9.10,
so we employ the workaround documented here:

haskell/core-libraries-committee#167

By hiding Foldable(..) from Prelude in all versions, we always import
the foldl' from Data.Foldable.
@yutotakano yutotakano marked this pull request as ready for review February 23, 2025 14:12
@yutotakano yutotakano requested a review from L0neGamer February 23, 2025 14:15
Copy link
Contributor

@L0neGamer L0neGamer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm! Merge when ready

@L0neGamer L0neGamer merged commit f2b8606 into discord-haskell:master Feb 23, 2025
8 checks passed
@yutotakano yutotakano deleted the 9.10 branch May 16, 2025 19:36
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.

2 participants