mirror of
https://github.com/HigherOrderCO/Bend.git
synced 2024-09-11 03:45:29 +03:00
8 lines
106 B
Plaintext
8 lines
106 B
Plaintext
type MyTree:
|
|
node { a, b }
|
|
leaf { a }
|
|
|
|
def main:
|
|
x = MyTree/node(1, 2)
|
|
open MyTree: x
|
|
return x.a |