close Warning: Can't synchronize with repository "(default)" (The repository directory has changed, you should resynchronize the repository with: trac-admin $ENV repository resync '(default)'). Look in the Trac log for more information.

Changeset 2959 for branches


Ignore:
Timestamp:
2015-06-21T14:20:23-07:00 (10 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/ring.lisp

    r2958 r2959  
    223223  (:method ((object built-in-class) &rest initargs &key &allow-other-keys)
    224224    (declare (ignore initargs))
    225     object))
     225    object)
     226  (:method ((object list) &rest initargs &key &allow-other-keys)
     227    (declare (ignore initargs))
     228    (mapcar #'copy-instance object)))
    226229
    227230;; Source: http://stackoverflow.com/questions/11067899/is-there-a-generic-method-for-cloning-clos-objects
Note: See TracChangeset for help on using the changeset viewer.