Changeset 4040 for branches/f4grobner
- Timestamp:
- 2016-05-31T16:47:49-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/monom.lisp
r4039 r4040 646 646 (t 647 647 (cons '* m)))))) 648 (:method ((self term) &optional vars)648 (:method :around ((self term) &optional vars) 649 649 "Convert a term SELF to infix form, using variable VARS to build the representation." 650 650 (declare (ignore vars)) … … 653 653 (let ((m (call-next-method))) 654 654 (cond ((eql coeff 1) m) 655 ((atom m) 656 (cond ((eql m 1) coeff) 657 (t (list '* coeff m)))) 655 658 ((eql (car m) '*) (list* '* coeff (cdr m))) 656 659 (t 657 (list* '* coeff m))) 658 m)))) 660 (list* '* coeff m)))))))
Note:
See TracChangeset
for help on using the changeset viewer.