Drop <= GHC 9.4, add GHC 9.14 - #38
Merged
Merged
Conversation
The code has required GHC 9.6 since 0.2.0.0 (see 73f566c), but the `base` lower bound still admitted much older compilers. Align it with GHC 9.6's base-4.18 and note the dropped versions in the changelog. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
GHC 9.14 changed a few AST details the plugin builds by hand: * 'HsConDetails' lost its type-argument list. Introduce a 'PrefixConP' pattern synonym that hides the difference and use it for all prefix constructor patterns. * The guarded right-hand sides of 'GRHSs' are now a 'NonEmpty' list. Introduce a 'SingleGRHS' pattern synonym for the single-alternative case the plugin generates and matches on. * Multiplicity annotations were unified: 'HsNoMultAnn' became 'HsUnannotated EpPatBind' for pattern bindings and 'HsUnrestrictedArrow' became 'HsUnannotated (EpArrow noAnn)' for function arrows. * 'thRdrNameGuesses' gained a list/tuple-pun flag, which is irrelevant for the fully qualified names 'thName' handles. Until a Clash release supporting GHC 9.14 is on Hackage, cabal.project pulls clash-prelude from the clash-compiler 'add-ghc914' branch when building with GHC >= 9.14. Add 9.14.1 to tested-with and the CI matrix. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Closed
rowanG077
approved these changes
Sep 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.