Skip to content
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 9.6 checklist #540

Closed
4 tasks done
RyanGlScott opened this issue Oct 8, 2022 · 1 comment
Closed
4 tasks done

GHC 9.6 checklist #540

RyanGlScott opened this issue Oct 8, 2022 · 1 comment

Comments

@RyanGlScott
Copy link
Collaborator

RyanGlScott commented Oct 8, 2022

This issue serves as a reminder to do certain things before we ship a new major release that supports GHC 9.6:

RyanGlScott added a commit that referenced this issue Mar 4, 2023
RyanGlScott added a commit that referenced this issue Mar 4, 2023
As of `base-4.18.0.0`, `GHC.TypeLits` now exports the `SChar`, `SNat`, and
`SSymbol` singleton types from `GHC.TypeLits` and `GHC.TypeNats` (see
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9064). These subsume the
custom singleton types that `GHC.TypeLits.Singletons` defines for `Char`,
`Natural`, and `Text`, so this patch removes much of the custom definitions in
`GHC.TypeLits.Singletons` in favor of re-exporting the equivalent definitions
from `GHC.TypeLits`.

In addition, the new API in `GHC.TypeLits` allows us to define some instances
in a slightly more direct fashion, without needing to match on `SomeChar`,
`SomeNat`, or `SomeSymbol` first.

Checks off one box in #540.
RyanGlScott added a commit that referenced this issue Mar 9, 2023
RyanGlScott added a commit that referenced this issue Mar 9, 2023
As of `base-4.18.0.0`, `GHC.TypeLits` now exports the `SChar`, `SNat`, and
`SSymbol` singleton types from `GHC.TypeLits` and `GHC.TypeNats` (see
https://gitlab.haskell.org/ghc/ghc/-/merge_requests/9064). These subsume the
custom singleton types that `GHC.TypeLits.Singletons` defines for `Char`,
`Natural`, and `Text`, so this patch removes much of the custom definitions in
`GHC.TypeLits.Singletons` in favor of re-exporting the equivalent definitions
from `GHC.TypeLits`.

In addition, the new API in `GHC.TypeLits` allows us to define some instances
in a slightly more direct fashion, without needing to match on `SomeChar`,
`SomeNat`, or `SomeSymbol` first.

Checks off one box in #540.
@RyanGlScott
Copy link
Collaborator Author

I've uploaded these to Hackage:

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

No branches or pull requests

1 participant