lama_byterun/stdlib/Ref.lama

11 lines
112 B
Text
Raw Normal View History

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