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

Adapt to goldfirere/th-desugar#227 #615

Merged
merged 2 commits into from
Jul 13, 2024
Merged

Conversation

RyanGlScott
Copy link
Collaborator

This patch adapts to the changes in goldfirere/th-desugar#227:

As part of a fix for goldfirere/th-desugar#223,
goldfirere/th-desugar#227 adds its own version of
`singletons-th`'s `matchUpSAKWithDecl` function (now called
`dMatchUpSAKWithDecl` on the `th-desugar` side). This commit completes the
migration by removing `singletons-th`'s version of `matchUpSAKWithDecl` and
instead using the version offered by `th-desugar`.
As part of a fix for goldfirere/th-desugar#199 and goldfirere/th-desugar#220,
goldfirere/th-desugar#227 improves `th-desugar`'s
ability to locally reify and desugar precise types for Haskell98-style data
constructors and class methods. This has a couple of knock-on effects for
`singletons`:

* The type of `dsCon` has changes to accept `DTyVarBndrSpec`s instead of
  `DTyVarBndrUnit`s, so we must adapt the call sites in `singletons-th`
  accordingly.
* Some of the test cases in `singletons-base` need to have their expected
  output updated to account for the improved kind information and specificity
  information flowing down from standalone kind signatures.
@RyanGlScott RyanGlScott force-pushed the adapt-to-th-desugar-T199-T220 branch from febfac4 to f8b8cd8 Compare July 12, 2024 14:56
@RyanGlScott RyanGlScott merged commit b720f3c into master Jul 13, 2024
24 checks passed
@RyanGlScott RyanGlScott deleted the adapt-to-th-desugar-T199-T220 branch July 13, 2024 11:49
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.

1 participant