Source/Packages

Compiler.LanguageEdition

packages/compiler/src/Compiler/LanguageEdition.alpha

112 lines16 declarations4.2 KiBSHA-256 75b20ed8bf85

def · lines 84–91

editionAllowsNamedRecords

Full file
Named record construction, projection and update are alpha-2027 surface forms. Their lowering uses the existing constructor/eliminator core.
84def editionAllowsNamedRecords =
85  (lambda unrestricted edition : (family LanguageEdition) .
86    (eliminate
87      LanguageEdition
88      (lambda unrestricted current : (family LanguageEdition) . Nat)
89      edition
90      (branch Alpha2026 . zero)
91      (branch Alpha2027 . (succ zero))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.