Skip to content

Fix compilation with ghc-8.4#3287

Closed
brandonhamilton wants to merge 2 commits into
purescript:masterfrom
brandonhamilton:ghc-8.4-compat
Closed

Fix compilation with ghc-8.4#3287
brandonhamilton wants to merge 2 commits into
purescript:masterfrom
brandonhamilton:ghc-8.4-compat

Conversation

@brandonhamilton

Copy link
Copy Markdown
Contributor

Compatibility with the new Semigroup as superclass of Monoid.

The changes were made so that the code still compiles with the current ghc-8.2.2 compiler (stackage lts-10.3), as well as the latest ghc-8.4.1 (tested with stackage nightly-2018-03-23).

Resolves #3284

@hdgarrood

Copy link
Copy Markdown
Contributor

Sorry, but I’m 👎 on supporting more than one series of GHC at once if it requires any extra work at all, and I’m definitely 👎 on CPP.

@brandonhamilton

brandonhamilton commented Mar 24, 2018

Copy link
Copy Markdown
Contributor Author

No problem :)
CPP is only used to ensure compatibility with ghc-8.2.2. The changes (minus the CPP stuff) can be used as reference if migration to ghc-8.4 happens in the future.

Happy to close this for now.

@ilovezfs

Copy link
Copy Markdown
Contributor

Is a there a reason not to move to 8.4.x for master without CPP? We'd like to retire GHC 8.2.x in Homebrew as soon as possible.

@hdgarrood

Copy link
Copy Markdown
Contributor

Yes, the ecosystem hasn't quite caught up yet. See #3294 (comment)

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.

3 participants