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


Ignore:
Timestamp:
2016-06-17T11:23:56-07:00 (8 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/polynomial-sugar.lisp

    r4509 r4510  
    4040      (format stream "EXPONENTS=~A COEFF=~A SUGAR=~A"
    4141              exponents coeff value))))
     42
     43(defclass poly-with-sugar (poly sugar) ())
     44
     45(defmethod shared-initialize :after ((self poly-with-sugar) slot-names &rest initargs &key)
     46  "Initialize sugar to its static value."
     47  (declare (ignore slot-names initargs))
     48  (setf (slot-value self 'value) (static-sugar self)))
Note: See TracChangeset for help on using the changeset viewer.