Skip to content

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

Merged
emilypi merged 4 commits into
masterfrom
koz/reexports-be-gone
May 1, 2022
Merged

emilypi merged 4 commits into
masterfrom
koz/reexports-be-gone

Conversation

@kozross

@kozross kozross commented May 1, 2022 •

Copy link
Copy Markdown
Collaborator

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 chessai and emilypi 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
6 of 8 tasks

@emilypi emilypi left a comment •

Copy link
Copy Markdown
Member

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.

Comment thread mtl.cabal
-- 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

@phadej phadej May 3, 2022 •

Copy link
Copy Markdown
Contributor

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