2 ms·
Common lisp has had that for ages too, though you specify which slots you are interested in and possibly rename them (useful when you have multiple instances of
by Jtsummers 4y ago
Common lisp has had that for ages too, though you specify which slots you are interested in and possibly rename them (useful when you have multiple instances of the same class or classes with common slot names).
http://clhs.lisp.se/Body/m_w_slts.htm http://clhs.lisp.se/Body/m_w_slts.htm
http://clhs.lisp.se/Body/m_w_acce.htm#with-accessors http://clhs.lisp.se/Body/m_w_acce.htm#with-accessors