-
Notifications
You must be signed in to change notification settings - Fork 7
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
freer-simple needs template-haskell constraint relaxed to work with GHC >=9.4 #399
Comments
@nmeum : Since the original maintainer has become passive, would you consider taking over this package? |
Unfortunately, I don't have the capacity to take over maintainership for freer-simple. For my own projects I will probably look into migrating to the |
That's unfortunate, because even a "dependency bumper"-maintainer would be better than no (active) maintainer. For now, I made the revision: https://hackage.haskell.org/package/freer-simple-1.2.1.2/revisions/ |
This looks like a bug in GHC, as class (Applicative b, Applicative m, Monad b, Monad m)
⇒ MonadBase b m | m → b where But I think for now it should be restricted back, none of EDIT: |
It's not a GHC bug, it's expected. GHC-9.8 warned about it:
|
Oh, as proposed in lexi-lambda/freer-simple#44 I only wanted to widen the constraint to <2.22 but it seems it has been widened to <2.23 instead? I haven't tested this with GHC 9.10 only with GHC >=9.4 && GHC <=9.8. Apologizes if that wasn't clear from the issue description. |
Fixed by another revision. Must have made a mistake when testing. |
This change was proposed upstream last year: lexi-lambda/freer-simple#44
Unfortunately, upstream has sadly been unresponsive for a while. However, aside from the template-haskell constraint, the package still works fine with newer version of GHC. I use freer-simple extensively in a Haskell project of mine (LibRISCV) and haven't noticed any issues with GHC version >=9.4 so far. Furthermore, the upstream test suite still passes with both GHC 9.4, GHC 9.6, and GHC 9.8 with the relaxed template-haskell constraint.
The text was updated successfully, but these errors were encountered: