「SF-PLF」12 Records

2022-03-02 17:40:44 浏览数 (1)

Adding Records

代码语言:javascript复制
t ::=                          Terms:
    | {i1=t1, ..., in=tn}         record
    | t.i                         projection
    | ...

v ::=                          Values:
    | {i1=v1, ..., in=vn}         record value
    | ...

T ::=                          Types:
    | {i1:T1, ..., in:Tn}         record type
    | ...

Formalizing Records

sf

0 人点赞