CLOS and GCL problems.



It works in Allegro CL and CMU-CL and SBCL. I don't know what the standard
requires.
It is very convenient when it works.
 

> -----Original Message-----
> From: Nicolas Neuss [mailto:neuss at math.uni-karlsruhe.de] 
> Sent: Wednesday, December 19, 2007 12:49 AM
> To: fateman at EECS.Berkeley.EDU
> Cc: maxima at math.utexas.edu
> Subject: Re: [Maxima] CLOS and GCL problems.
> 
> "Richard Fateman" <fateman at cs.berkeley.edu> writes:
> 
> > It seems that GCL is significantly broken in that defmethod 
> does not work
> > with built-in types as classes.
> >
> > that is
> >
> > (defmethod foo ((x double-float)(n fixnum)) .... )
> >
> > is unacceptable.
> 
> Should this really work?  I once wanted something like that 
> myself and was
> told that this was not covered by the standard which requires 
> that only
> classes (not types) or eql-specializers must be used at that point.
> 
> Nicolas
>