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.

Ignore:
Timestamp:
2016-06-04T22:56:30-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

Added ring classes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/copy.lisp

    r4223 r4312  
    3838;; NOTE: This is a shallow copy. Add an around method for classes which need deep copy of the slots.
    3939(defgeneric copy-instance (object &rest initargs &key &allow-other-keys)
    40   (:method ((object number) &rest initargs &key &allow-other-keys)
    41     (declare (ignore initargs))
    42     object)
    43   (:method ((object cons) &rest initargs &key &allow-other-keys)
    44     (declare (ignore initargs))
    45     (copy-seq object))
    4640  (:documentation "Makes and returns a shallow copy of OBJECT.
    47 
    4841  An uninitialized object of the same class as OBJECT is allocated by
    4942  calling ALLOCATE-INSTANCE.  For all slots returned by
Note: See TracChangeset for help on using the changeset viewer.