chickadee » environments » environment-set!

environment-set! ENV SYMBOL VALUEprocedure

Updates the binding SYMBOL in environment ENV with VALUE. A non-existent binding will be created as mutable.

It is an error to attempt to create a new binding in an inextensible environment.

Changing the value of an existing immutable variable will succeed.