Dmitri Hrapof wrote:
why not instead of REQUEST-URI*
use something like:
(defclass request () ((uri))) (defgeneric request-uri (&optional req)) (defmethod request-uri (&optional (req request)) (when (null req) ...
though maybe sacrificing backwards-compatibility is better than writing all that :)
You would seriously subvert the essential meaning of methods, i.e. being able to dispatch on their arguments.
How would you be able to support a custom subclass of REQUEST wishing to specialize REQUEST-URI (and all the other functions) then?
Leslie