mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
613aac3e47
* Add DA.Internal.NatSyn as a stable package This module exposes a type NatSyn, to be used for encoding type synonyms of Nat-kinded types * Add generalized roundtrip test helpers in LFConversion tests roundtripTestsBy and roundtripTestsPartialBy are like their non-By versions, except they take an explicit equality predicate instead of relying on the Eq instance. This allows the source and target types to differ. * Define encoder/decoder for type synonyms This works by saturating the RHS of the declaration with artificial variable names and adding the corresponding parameters on the LHS In the case of Nat type synonyms, the Proxy-like DA.Internal.NatSyn.NatSyn type is used to wrap the value into something of kind star. * Use type synonym encoder/decoder when generating/consuming DALF This closes #11226 changelog_begin changelog_end * Extend type synonyms over data-dependencies test * Add test cases for multi-param type class synonyms |
||
---|---|---|
.. | ||
src/Development/IDE/Core | ||
test/Development/IDE/Core/API | ||
BUILD.bazel | ||
dlint.yaml |