boolean.spad line 1 [edit on github]
Reference is for making a changeable instance of something.
a=b tests if a and b are the same pointer/reference.
deref(n) is equivalent to elt(n).
elt(n) returns the object n.
ref(n) creates a pointer (reference) to the object n.
setelt!(n, m) changes the value of the object n to m.
setref(n, m) same as setelt!(n, m).