Skip to content
This repository has been archived by the owner on Apr 25, 2020. It is now read-only.

GHC-8.6.1/Nightly-2018-10-17 #943

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

GHC-8.6.1/Nightly-2018-10-17 #943

wants to merge 13 commits into from

Conversation

lierdakil
Copy link
Collaborator

Again, I threw stuff at the compiler until it... well, compiled. Specs pass, apparently.

Mostly some changes to internal types.

One major change is that <- patterns that may fail now require the monad in question to have MonadFail instance. I figured this out rather late into the process, so it so happens I have replaced fallible patterns with fromJustNote where appropriate, I think in one place using an irrefutable pattern, and with head in another. There is little rhyme or reason to why I used a particular way to do this. I just chose whatever seemed the most convenient at the time.

Note: this branch is only compatible with ghc 8.6, I threw away some CPP guards and didn't bother with introducing new ones in the slightest. I vaguely remember that splitting off ghc-mod-core was in part in order to ditch all that CPP horribleness by tying the core to GHC releases. I guess that never happened? Anyway, be careful with this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants