Generic Setter Guild Supply Ship
- Lisp Dialect
To modify the value of a variable in Common Lisp, you use
setf. However, this command also has an amazing special power: Instead of a variable name, you can pass it a complex Lisp expression that retrieves a value. It can then turn that expression “inside out” and use it to modify that value, rather than simply retrieve it. These types of expressions are called generic setters.
Many commands besides
setf also support generic setters. Using this feature, most types of data structures can get by without any specific “setting” functions of their own.
How It Kills Bugs
When you have a complicated, ...