Hi,
I have a generic function
(defgeneric equals (a b &rest keys &key recursive key &allow-other-keys)
... )
This method works correctly:
(defmethod equals ((a t) (b t) &rest keys)
(declare (ignore keys))
(equalp a b))
... )
But, this method throws an error:
(defmethod equals ((a float) (b float)
&rest keys
&key
floating-compare
(max-relative-diff 1.19e-7))
... )
As a point of reference, SBCL allows this, but of course that is not the determinant of correctness. :-)
Best regards,
Paul