- Timestamp:
- 2015-06-08T22:51:41-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/term.lisp
r795 r796 36 36 (:include monom) 37 37 ;; BOA constructor. TODO: avoid code duplication with MONOM? 38 (:constructor make-term (monom & optional (c nil)38 (:constructor make-term (monom &key (coeff nil coeff-supplied-p) 39 39 (ring *ring-of-integers* ring-supplied-p) 40 40 &aux 41 41 (coeff (cond 42 (c c)42 (coeff-supplied-p coeff) 43 43 (ring-supplied-p (funcall (ring-unit ring))) 44 (t (error "Coefficient or ring must be supplied.")))) 44 (t 45 (error "Coefficient or ring must be supplied.")))) 45 46 (exponents (monom-exponents monom)))) 46 47 ;;(:constructor make-term-variable)
Note:
See TracChangeset
for help on using the changeset viewer.