lama_byterun/stdlib/Ref.lama
Dmitry Boulytchev 61296c51e7 Massive renaming
2020-02-16 00:21:15 +03:00

11 lines
No EOL
112 B
Text

public fun ref (x) {
[x]
}
public fun deref (x) {
x[0]
}
public infix ::= before := (x, y) {
x[0] := y
}