You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
470 B
Plaintext
42 lines
470 B
Plaintext
Recs Test
|
|
|
|
======
|
|
|
|
type MyRec = rec {
|
|
first: Num
|
|
second: Str
|
|
}
|
|
|
|
======
|
|
|
|
(file
|
|
(statement
|
|
(type_decl
|
|
(type_ident
|
|
(ident: "MyRec")
|
|
)
|
|
(type_expr
|
|
(rec
|
|
(rec_field
|
|
(ident: "first")
|
|
(type_expr
|
|
(type_ident
|
|
(ident: "Num")
|
|
)
|
|
)
|
|
)
|
|
(rec_field
|
|
(ident: "second")
|
|
(type_expr
|
|
(type_ident
|
|
(ident: "Str")
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
)
|
|
(EOI: "")
|
|
)
|