PAIRMUTATORS provides two functions for changing pairs. Click on a name on the right to see how they are defined and used.
Pair mutation is covered in the textbook Structure and Interpretation of Computer Programs, JavaScript Adaptation (SICP JS) in section 3.3.1 Mutable List Structure.