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

Forward port to modern GHC #27

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

ddddanil
Copy link

@ddddanil ddddanil commented Jun 1, 2021

Changes that made this package compatible:

  • Removed custom FFI (it is now a part of integer-gmp package)
  • Remove all compiler checks for versions <8.0
  • Remove Setup.hs since no special build options are needed
  • Implement Semigroup Bitset for modern base compliance
  • Changed instance Bits FastInteger into a newtype derivation

Tested with following Stack resolvers (compiled + passed all tests):

  • LTS 17.14 (GHC 8.10.4)
  • LTS 17.2 (GHC 8.10.3)
  • LTS 16.31 (GHC 8.8.4)
  • LTS 16.11 (GHC 8.8.3)
  • LTS 15.3 (GHC 8.8.2)
  • LTS 14.27 (GHC 8.6.5)
  • LTS 13.19 (GHC 8.6.4)
  • LTS 13.11 (GHC 8.6.3)
  • LTS 12.26 (GHC 8.4.4)
  • LTS 12.14 (GHC 8.4.3)
  • Older versions do not compile because of the deleted Setup.hs

@jfla jfla mentioned this pull request Dec 11, 2022
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