3 ms·
Common Lisp can also change the class of a CLOS object. Via CHANGE-CLASS: http://www.lispworks.com/documentation/HyperSpec/Body/f_chg_cl.htm http://www.lispwor
by lispm 7y ago
Common Lisp can also change the class of a CLOS object. Via CHANGE-CLASS:
http://www.lispworks.com/documentation/HyperSpec/Body/f_chg_cl.htm http://www.lispworks.com/documentation/HyperSpec/Body/f_chg_...
But these are not the parts where Common Lisp will be fast...
- kazinator 7y agoSmallTalk's become: is a crazy-ass feature which walks the entire graph of reachable objects, and replaces all occurrences of one object with another. A becomes B by virtue of all known references to A being replaced with references to B.