Skip to content

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
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
Bodigrim pushed a commit that referenced this pull request Oct 9, 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
# Conflicts:
#	Data/ByteString/Internal/Type.hs
Bodigrim pushed a commit that referenced this pull request Oct 15, 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
@Bodigrim Bodigrim added this to the 0.12.2.0 milestone Oct 15, 2024
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