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

Making System Functions Specializable




	Here's one thing to try.  Say you have want to define + on
arrays.  

	(setq num-plus (function #'+))
	(fmakunbound #'+)
	(defmethod + ((a array) (b array)) ....)
	(defmethod + ((x number) (y number)) (num-plus x y))


	Then, after you compile this, you could even get rid of
num-plus' function binding.

	Mike S.