Next: , Up: Scheme reference   [Contents][Index]

4.1 Boxes

The (hoot boxes) module provides boxes, which are single-value, mutable cells.

Procedure: make-box init

Return a new box with an initial stored value of init.

Procedure: box-ref box

Return the value stored within box.

Procedure: box-set! box val

Set the stored value of box to val.