-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Draft: Adapt to DLamCasesE in th-desugar-1.18
This patch bumps the pinned `th-desugar` commit to bring in the changes from TODO RGS, which replace `DLamE` and `DCaseE` in favor of `DLamCasesE`. Quite happily, this actually _simplifies_ how singling works in `singletons-th`. Previously, we went through great efforts to annotate promoted `case` expressions with their overall return type, as described in `Note [Annotate case return type]` and `Note [The id hack; or, how singletons-th learned to stop worrying and avoid kind generalization]` in `D.S.TH.Single`. After this patch, however, all `case` expressions are desugared to `\cases` expressions, and because we already annotate singled `\cases` expressions (by generating code like `singFun1 @LamCasesSym0 (\cases ...)`), we no longer need to use the tricks describes in those two Notes. Hooray!
- Loading branch information
1 parent
33f2992
commit aa798b1
Showing
78 changed files
with
4,475 additions
and
3,952 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1,477 changes: 733 additions & 744 deletions
1,477
singletons-base/tests/compile-and-dump/GradingClient/Database.golden
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.