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


Ignore:
Timestamp:
2015-06-20T00:29:20-07:00 (9 years ago)
Author:
Marek Rychlik
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/f4grobner/5am-monom.lisp

    r2588 r2590  
    189189  ))
    190190
    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 
    205191(run! 'monom-suite)
    206192(format t "All tests done!~%")
Note: See TracChangeset for help on using the changeset viewer.