Files
lisplings/exercises/18_dynamic/README.md
T

10 lines
375 B
Markdown

# 18_dynamic
Closures and special variables: two ways a function reaches out.
A closure captures the variables around it. A DEFPARAMETER variable
is dynamic: LET rebinding it changes what every called function
sees, and restores the old value afterwards. DEFVAR makes the same
kind of variable but keeps quiet on reload - it never overwrites a
value that is already there.