set_tail(p, v)
Assign the value v to the tail of the pair p. Return void. Raise an error if p is not a valid pair.
v
p
void
let p = 10:20 set_tail(p, 100) p // 10:100
Core Module Index | Contents