- Timestamp:
- 2015-06-20T00:29:20-07:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/f4grobner/5am-monom.lisp
r2588 r2590 189 189 )) 190 190 191 (defun foo ()192 (let ((p (make-instance 'poly))193 (q (make-instance 'poly)))194 (dotimes (i 5)195 (insert-item p (make-instance 'term :exponents (list (* 3 i)) :coeff (1+ (* 3 i))))196 (insert-item q (make-instance 'term :exponents (list (+ (* 3 i) 2)) :coeff (1- (* 3 i)))))197 (print p)198 (print q)199 (add-to p q)200 (print p)201 ))202 203 204 205 191 (run! 'monom-suite) 206 192 (format t "All tests done!~%")
Note:
See TracChangeset
for help on using the changeset viewer.