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 803 for branches


Ignore:
Timestamp:
2015-06-08T23:42:46-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/term.lisp

    r802 r803  
    3434(in-package :term)
    3535
    36 (defstruct (term
    37              (:include monom)
    38              ;; BOA constructor. TODO: avoid code duplication with MONOM?
    39              (:constructor make-term (monom &key
    40                                             (ring *ring-of-integers* ring-supplied-p)
    41                                             (coeff (cond
    42                                                      (ring-supplied-p (funcall (ring-unit ring)))
    43                                                      (t
    44                                                       (error "Coefficient or ring must be supplied."))))
    45                                             (exponents (monom-exponents monom))))
     36(defstruct (term)
    4637             ;;(:constructor make-term-variable)
    47              ;;(:type list)
     38  ;;(:type list)
    4839             )
     40  (monom :type monom)
    4941  (coeff nil))
    5042
Note: See TracChangeset for help on using the changeset viewer.