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.
33 lines
340 B
Plaintext
33 lines
340 B
Plaintext
2 months ago
|
Tuples Test
|
||
|
|
||
|
======
|
||
|
|
||
|
type MyTuple = #(Str, Int)
|
||
|
|
||
|
======
|
||
|
|
||
|
(file
|
||
|
(statement
|
||
|
(type_decl
|
||
|
(type_ident
|
||
|
(type_name: "MyTuple")
|
||
|
)
|
||
|
(type_expr
|
||
|
(tuple
|
||
|
(type_expr
|
||
|
(type_ident
|
||
|
(type_name: "Str")
|
||
|
)
|
||
|
)
|
||
|
(type_expr
|
||
|
(type_ident
|
||
|
(type_name: "Int")
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
)
|
||
|
(EOI: "")
|
||
|
)
|