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

Remove support for ghc < 8.4 #682

Merged
merged 1 commit into from
Jun 16, 2024
Merged

Conversation

clyring
Copy link
Member

@clyring clyring commented Jun 7, 2024

Along the way:

  • Obseleted CPP and compatibility workarounds were removed
  • Most remaining CPP conditions are moved into bytestring-cpp-macros.h and given specific feature names
  • Most imports from ghc-prim are replaced with equivalent imports from base
  • Data.ByteString.Builder.RealFloat.Internal is left untouched, to avoid unnecessary conflicts

Along the way:

 * Obseleted CPP and compatibility workarounds were removed
 * Most remaining CPP conditions are moved into
   bytestring-cpp-macros.h and given specific feature names
 * Most imports from ghc-prim are replaced with equivalent
   imports from base
 * Data.ByteString.Builder.RealFloat.Internal is left untouched,
   to avoid unnecessary conflicts
@@ -108,7 +109,7 @@ common language

library
import: language
build-depends: base >= 4.9 && < 5, ghc-prim, deepseq, template-haskell
build-depends: base >= 4.11 && < 5, ghc-prim, deepseq, template-haskell
Copy link
Contributor

Choose a reason for hiding this comment

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

How far are we from dropping dependency on ghc-prim entirely? I'd be happy to drop more old GHCs if it helps.

Copy link
Member Author

Choose a reason for hiding this comment

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

I think the remaining uses are all in the RealFloat Builder internals. I think it will be easiest to clean those up after #637 lands.

@clyring clyring merged commit 0816ae5 into haskell:master Jun 16, 2024
27 checks passed
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.

None yet

2 participants