Predeclared in PAIRMUTATORS

Functions

set_head(p, x) → {undefined}

changes the pair p such that its head is x.
Parameters:
Name Type Description
p pair given pair
x value given value
Returns:
undefined
Type
undefined

set_tail(p, x) → {undefined}

changes the pair p such that its tail is x.
Parameters:
Name Type Description
p pair given pair
x value given value
Returns:
undefined
Type
undefined