- Timestamp:
- 2015-06-21T14:15:44-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/ring.lisp
r2879 r2955 217 217 (copy (allocate-instance class))) 218 218 (dolist (slot-name (mapcar #'sb-mop:slot-definition-name (sb-mop:class-slots class))) 219 220 221 (slot-value object slot-name))))219 (when (slot-boundp object slot-name) 220 (setf (slot-value copy slot-name) 221 (copy-instance (slot-value object slot-name))))) 222 222 (apply #'reinitialize-instance copy initargs)))) 223 223
Note:
See TracChangeset
for help on using the changeset viewer.