Skip to content

Bump to ghc8 2#3070

Merged
paf31 merged 6 commits intopurescript:masterfrom
kritzcreek:bump-to-ghc8-2
Sep 15, 2017
Merged

Bump to ghc8 2#3070
paf31 merged 6 commits intopurescript:masterfrom
kritzcreek:bump-to-ghc8-2

Conversation

@kritzcreek
Copy link
Copy Markdown
Member

@kritzcreek kritzcreek commented Sep 13, 2017

Fixes #3065

I bumped the resolver to point at the current nightly, and relaxed all the blocking bounds. I also checked the changelogs and didn't find anything that directly affects us. I'd totally encourage someone else to do the same though.

I haven't paid attention to retaining backwards compatibility with GHC 8.0.2. I don't really like that Protolude exports moduleName now, and I'm wondering if it would be a good idea to build our own project specific Prelude. We could still use protolude as a baseline, but a lot of the exported names from the Generics modules conflict with things a in compiler project.

@hdgarrood
Copy link
Copy Markdown
Contributor

I would definitely advocate putting together a project-specific Prelude and dropping the protolude dependency, even. I'm less keen on Protolude now since it's caused build issues, because it defines its own Bifunctor despite the perfectly good existing one in bifunctors, and also because of the new string conversion stuff, as some of the implicit conversions it can do are a bit dodgy. I think we could very easily maintain our own custom Prelude inside this repo instead.

Copy link
Copy Markdown
Contributor

@hdgarrood hdgarrood left a comment

Choose a reason for hiding this comment

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

Do you know if there will be an LTS soon?

@hdgarrood
Copy link
Copy Markdown
Contributor

If you push an empty commit, that should help stop the builds from timing out.

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Sep 13, 2017

Looks good to me, thanks Christoph!

I'd be fine with a (minimal) custom prelude module.

@ilovezfs
Copy link
Copy Markdown
Contributor

Do the Travis failures block this from being merged?

@kritzcreek
Copy link
Copy Markdown
Member Author

@ilovezfs I just pushed an empty commit with the hope of making the tests succeed (switching GHC versions requires too much dependency compilation to do it in one travis build). If things succeed I'd be happy to merge this, and we can talk about the minimal Prelude in another issue/PR.

@kritzcreek
Copy link
Copy Markdown
Member Author

Something's broken with the OSX CI instances, but @Cmdv tested that things build fine on OSX for me. Should we merge this despite the CI failures?

@paf31
Copy link
Copy Markdown
Contributor

paf31 commented Sep 15, 2017

👍 Let's merge and fix up CI later.

@paf31 paf31 merged commit 2b10b06 into purescript:master Sep 15, 2017
paf31 pushed a commit that referenced this pull request Nov 8, 2017
* fixes cabal warning about an unspecified Paths module

* Bump to GHC 8.2 stack nightly

* trigger rebuild

* fix more shadowing warnings

* retrigger build

* try again
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.

Build failure with protolude 0.2

4 participants