forked from digital-asset/daml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LF conversion of templates under new rules (WIP). (digital-asset#4030)
* Patterns and test for new desugaring * working on new template conversion * Update ghc-lib changelog_begin changelog_end * shut up hlint * Update desugar stdlib * update test * remove unuseful templatebinds * Add implicit qualified GHC.Types import * Add missing primitives * Remove chaff * update comments * Remove patterns that dont seem useful anymore * Capture key data in template binds * Dont make TypeRep/ToAny/FromAny classes conditional * Remove some unnecessary TODOs * Generate the template definition * Remove new template desugaring test * Fix jq query * Rename makeDesugarDFunProjection to useSingleMethodDict * Let TTypeRep and TAny be TUnit in primitives. * Fix damlc visual wrt the new desugaring * Fix visualization tests in shake test suite * Fix damldocs * Drop envTemplateKeyData * Use the new ghc-lib release Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
- Loading branch information
1 parent
2dcf3f8
commit 5d30408
Showing
10 changed files
with
407 additions
and
300 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
396 changes: 139 additions & 257 deletions
396
compiler/damlc/daml-lf-conversion/src/DA/Daml/LFConversion.hs
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
Oops, something went wrong.