[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CHANGE-CLASS not implemented?



Sy Ali <syali@cs.Buffalo.EDU> asks:

> Is this not implemented in the latest version of CLISP?

No, I didn't implement CHANGE-CLASS. It is hardly ever used, and it violates
a fundamental property of Lisp: an object's type must be constant as time
passes.
(Would you be happy if a string could be "changed" to become a number?)

If you really need CHANGE-CLASS, you may use PCL. It's bigger and slower
than CLISP's native CLOS, but it has CHANGE-CLASS.


                    Bruno Haible
                    haible@ma2s2.mathematik.uni-karlsruhe.de