- Timestamp:
- 2015-06-20T01:51:47-07:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/polynomial.lisp
r2612 r2615 113 113 (setf p (cdr p))))) 114 114 115 (defmacro def-additive-operation-method (method-name &optional doc-string) 115 (defmacro def-additive-operation-method (method-name &optional (doc-string nil doc-string-supplied-p)) 116 "This macro avoids code duplication for two similar operations: ADD-TO and SUBTRACT-FROM." 116 117 `(defmethod ,method-name ((self poly) (other poly)) 117 , doc-string118 ,@(when doc-string-supplied-p `(,doc-string)) 118 119 (with-slots ((termlist1 termlist) (order1 order)) 119 120 self
Note:
See TracChangeset
for help on using the changeset viewer.