Adding new object types WAS: Operations on inf



maxima-bounces at math.utexas.edu wrote on 03/09/2007 08:56:32 AM:

> I'm guessing that Barton was thinking of something more CLOS-like. 

Yes. I don't know the status of CLOS in GCL. Even without CLOS, I think it 

should be possible to alter simplus to do allow something like

(setf (get 'big-oh 'add-function) 'add-big-oh)
(defun add-big-oh (a b)  ;; a is a big-oh object and b is anything

Barton