In lisp, I need to define a set of functions, all with the same number of arguments. However, the functions may or may not use all the arguments, leading to a spur of warning messages. For example:
(defun true (X Y) X)
[...]
; caught STYLE-WARNING:
; The variable Y is defined but never used.
Is there a way to warn the compiler that is was intended?
See the Common Lisp Hyperspec: Declaration IGNORE, IGNORABLE