chickadee » box » make-box-variable

(make-box-variable VARIABLE [IMMUTABLE? #f]) => BOXsyntax

Returns a boxed reference to the VARIABLE, which must be in lexical-scope.

The BOX is mutable unless the IMMUTABLE? argument is #t.

An attempt to mutate an immutable box will signal an exception.