From: Tobias C. R. <tc...@fr...> - 2008-08-21 13:32:35
|
"Thomas F. Burdick" <tbu...@gm...> writes: > Of course, this is partially a sense of style, and my preferences here > are definitely informed by my distaste for using parameters only for > method dispatch. But I do find code that does this easier to navigate > when those unused parameters are at least marked as such. And allowing > the compiler to perform this static check would make some of my own > sloppiness bugs easier to catch. FWIW, I'd rather like if someone[tm] could hack in detection for arglist mismatching. Making (defun foo (x y &key k1) (list :x x :y y :k1 k1)) (defun bar (a) (foo a)) (defun quux (a b) (foo a b :k2 t)) signal style-warnings. -T. |