lama_byterun/stdlib/Ref.expr
2020-01-20 03:38:43 +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
}