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 796


Ignore:
Timestamp:
2015-06-08T22:51:41-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r795 r796  
    3636             (:include monom)
    3737             ;; 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)
    3939                                            (ring *ring-of-integers* ring-supplied-p)
    4040                                            &aux
    4141                                            (coeff (cond
    42                                                      (c c)
     42                                                     (coeff-supplied-p coeff)
    4343                                                     (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."))))
    4546                                            (exponents (monom-exponents monom))))
    4647             ;;(:constructor make-term-variable)
Note: See TracChangeset for help on using the changeset viewer.