Common Lisp – Any ideas on how to write a “with-methods” macro similar to “with-slots”?
So my idea is to reduce the amount of calls to an object instance, when it is clearly the only one in scope.
Here’s a code example:
Any ideas on how to write a “with-methods” macro similar to “with-slots”?
So my idea is to reduce the amount of calls to an object instance, when it is clearly the only one in scope.
Here’s a code example: