Description:
Discussion about LISP.
|
|
|
Circular slot/member reference when defining class
|
| |
So in C++ when class A needs a pointer to class B and likewise class B needs the same you just do: // A.h class B; class A { //... B* pb; ...// B.h class A; class B { //... A* pa; ...How do we accomplish the same in Common Lisp? I'd rather not take the types out of the class definitions here...... more »
|
|
declaring 'ignore' inside a loop using destructuring
|
| |
Here's a question for the loopers. Say I'm using loop destructuring like this: (defun foo (some-list) (loop for (a b c) in some-list do ;; code that uses a and c, but not b: (print a) (print c))) (compile 'foo) -> Warning: Variable b is never used. I know that in a destructuring-bind or a multivalue-bind you can just... more »
|
|
|