-
Notifications
You must be signed in to change notification settings - Fork 37
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
GHC 8.8 checklist #356
Labels
Comments
This was referenced Jan 14, 2019
The third bullet point (about the |
The fix for #16339 has been merged to the |
RyanGlScott
added a commit
that referenced
this issue
Mar 24, 2019
`base-4.13` removes the `fail` method from the `Monad` class, leaving it exclusively as a method of `MonadFail`, which is now re-exported from the `Prelude`. This patch mirrors these changes on the `singletons` side: * `Fail`/`sFail` has been ripped out of `{P,S}Monad` in favor of new `{P,S}MonadFail` classes. * A couple of functions in `singletons` needed to have their `Monad` constraints strengthened to `MonadFail` to mirror similar changes in `th-desugar`. Addresses one bullet point of #356. [ci skip]
RyanGlScott
added a commit
that referenced
this issue
Apr 1, 2019
`base-4.13` removes the `fail` method from the `Monad` class, leaving it exclusively as a method of `MonadFail`, which is now re-exported from the `Prelude`. This patch mirrors these changes on the `singletons` side: * `Fail`/`sFail` has been ripped out of `{P,S}Monad` in favor of new `{P,S}MonadFail` classes. * A couple of functions in `singletons` needed to have their `Monad` constraints strengthened to `MonadFail` to mirror similar changes in `th-desugar`. Addresses one bullet point of #356.
RyanGlScott
added a commit
that referenced
this issue
Apr 1, 2019
`base-4.13` removes the `fail` method from the `Monad` class, leaving it exclusively as a method of `MonadFail`, which is now re-exported from the `Prelude`. This patch mirrors these changes on the `singletons` side: * `Fail`/`sFail` has been ripped out of `{P,S}Monad` in favor of new `{P,S}MonadFail` classes. * A couple of functions in `singletons` needed to have their `Monad` constraints strengthened to `MonadFail` to mirror similar changes in `th-desugar`. Addresses one bullet point of #356.
RyanGlScott
added a commit
that referenced
this issue
Apr 29, 2019
This fixes #356 for good by checking off the last two tasks in its description: * Now that `MonadFail` is exported by the `Prelude`, we no longer need to import `Control.Monad.Fail`. * We can use visible kind applications to simplify the presentation of `ApplyTyCon` to make it obvious how the two equations differ.
RyanGlScott
added a commit
that referenced
this issue
Apr 29, 2019
This fixes #356 for good by checking off the last two tasks in its description: * Now that `MonadFail` is exported by the `Prelude`, we no longer need to import `Control.Monad.Fail`. * We can use visible kind applications to simplify the presentation of `ApplyTyCon` to make it obvious how the two equations differ.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue serves as a reminder to do certain things before we ship a new major release that supports GHC 8.8:
Bump the
th-desugar
submodule to incorporate changes from GHC 8.8 support th-desugar#105.singletons
is completely borked at the moment on GHC HEAD due to Can't build singletons on GHC HEAD post-"Remove decideKindGeneralisationPlan" #357. Figure out how to work around this.Adapt to the
MonadFail
proposal.Control.Monad.Fail
, as they will no longer be necessary due toMonadFail
being exported by thePrelude
.Now that
!
and.
can be parsed as type operators, we should remove the special-casing for(!)
and(.)
. (SeeNote [Special cases for (.) and (!)]
.)We can now rewrite
ApplyTyCon
:singletons/src/Data/Singletons/Internal.hs
Lines 204 to 206 in ea63077
To use visible kind application:
This change isn't strictly necessary, but it does make the right-hand sides a little less noisy.
The text was updated successfully, but these errors were encountered: