ref_set(s, i, v)
Set the element at index i
in the sequence s
to the value v
.
Return void
.
Ref
and ref_set
are generic functions that can be overridden by a user-defined object.
Strings, lists, arrays and hash tables
implement them by default. Any object that implement these functions automatically starts working with the []
syntax.