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 2466 for branches


Ignore:
Timestamp:
2015-06-19T10:43:57-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial.lisp

    r2465 r2466  
    5757  (:default-initargs :termlist nil))
    5858
    59 (defgeneric insert (object item)
     59(defgeneric insert-item (object item)
    6060  (:method ((self poly) (item (term)))
    6161    (push item (poly-termlist self))
     62    self))
     63
     64(defgeneric append-item (object item)
     65  (:method ((self poly) (item (term)))
     66    (setf (cdr (last ((poly-termlist self)))) (list item))
    6267    self))
    6368
Note: See TracChangeset for help on using the changeset viewer.