19 lines
282 B
Plaintext
19 lines
282 B
Plaintext
immutable :: 1
|
|
mutable := 2
|
|
typed_immutable: i32: 3
|
|
typed_mutable: i32 = 4
|
|
deferred: i32
|
|
deferred = 5
|
|
then :: 6
|
|
|
|
(left, right) :: (1, 2)
|
|
(mutable_left, mutable_right) := (3, 4)
|
|
|
|
Point :: &{
|
|
x: i32:
|
|
y: i32 =
|
|
}
|
|
|
|
point := &Point.{ x: 10; y = 20 }
|
|
{x as horizontal, y} :: point
|