|
|
|
|
|
by kazinator
911 days ago
|
|
There is a macro like this for Common Lisp: modf. https://github.com/smithzvk/modf With modf, you use the existing place syntax to refer to part of an object. It looks like you're mutating that object, but in fact it will return a clone of the entire containing object, with the modification, while the original remains untouched. |
|