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

Re-remove re-exports, minimal bounds, CI #108

Merged
merged 4 commits into from
May 1, 2022
Merged

Conversation

kozross
Copy link
Collaborator

@kozross kozross commented May 1, 2022

This completes multiple required milestones in #86:

  • Re-exports of Control.Monad, Control.Monad.Fix and Data.Monoid are gone.
  • We now require at least GHC 8.6 and cabal-install 3.0.
  • New Github Actions-based CI holding this in place.
  • All CPP is gone.
  • Require at least transformers-0.5.6.

@emilypi I've asked about whether we dealt with other re-exports or not: I assume you only meant those three in your item, but I had to check. This is a necessary preliminary to other work.

@kozross kozross requested review from emilypi and chessai May 1, 2022 00:42
@kozross kozross marked this pull request as ready for review May 1, 2022 01:33
@kozross kozross changed the title Re-remove re-exports, minimal GHC, CI Re-remove re-exports, minimal bounds, CI May 1, 2022
@kozross kozross mentioned this pull request May 1, 2022
8 tasks
Copy link
Member

@emilypi emilypi left a comment

Choose a reason for hiding this comment

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

herculean 💪

Re:

I've asked about whether we dealt with other re-exports or not: I assume you only meant those three in your item, but I had to check. This is a necessary preliminary to other work.

Deferring to @chessai, but I believe those three were the offending re-exports.

-- This is a SafeHaskell safeguard (pun intended) to explicitly declare the API contract of `mtl`
-- GHC versions before 7.4 were hopelessly broken or incapable of SafeHaskell
if impl(ghc >= 7.4)
default-extensions: Safe
Copy link
Contributor

@phadej phadej May 3, 2022

Choose a reason for hiding this comment

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

Removal of default-extensions: Safe may allow some modules to became unsafe unnoticed. Please add it back.

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.

4 participants