Subject: Adding new object types WAS: Operations on inf
From: Barton Willis
Date: Fri, 9 Mar 2007 12:48:33 -0600
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