Source/Packages

Compiler.Parser

packages/compiler/src/Compiler/Parser.alpha

5,902 lines337 declarations199.2 KiBSHA-256 6d135c41813d

def · lines 4241–4258

decodeRecordVariableHead

Full file
4241def decodeRecordVariableHead =
4242  (lambda unrestricted spelling : Bytes .
4243    (lambda unrestricted functionTerm : (family Term) .
4244      (lambda unrestricted familyTerm : (family Term) .
4245        (lambda unrestricted remaining : (family TermList) .
4246          (chooseNamedDecode
4247            (bytesEqual spelling recordSpelling)
4248            (lambda unrestricted force : Nat . (decodeRecordConstruction familyTerm remaining))
4249            (lambda unrestricted force : Nat .
4250              (chooseNamedDecode
4251                (bytesEqual spelling projectSpelling)
4252                (lambda unrestricted force : Nat . (decodeRecordProjection familyTerm remaining))
4253                (lambda unrestricted force : Nat .
4254                  (chooseNamedDecode
4255                    (bytesEqual spelling updateSpelling)
4256                    (lambda unrestricted force : Nat . (decodeRecordUpdate familyTerm remaining))
4257                    (lambda unrestricted force : Nat .
4258                      (decodePrimitiveVariableHead spelling functionTerm familyTerm remaining)))))))))))

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.