Changeset 4515
- Timestamp:
- 2016-06-17T12:26:21-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial-sugar.lisp
r4514 r4515 33 33 34 34 (defmethod update-instance-for-different-class :after ((old monom) (new monom-with-sugar) &key) 35 "Add sugar to every term."35 "Add sugar." 36 36 (reinitialize-instance new :value (static-sugar new))) 37 37 … … 61 61 (format stream "EXPONENTS=~A COEFF=~A SUGAR=~A" 62 62 exponents coeff value)))) 63 64 (defmethod update-instance-for-different-class :after ((old term) (new term-with-sugar) &key) 65 "Add sugar." 66 (reinitialize-instance new :value (static-sugar new))) 67 68 63 69 64 70 (defclass poly-with-sugar (poly sugar) ())
Note:
See TracChangeset
for help on using the changeset viewer.