(defmethod foo ((bar (eql 1)))
(print "foo: bar=1"))
do I need to (declare (ignore bar))?
some lisps complain when I do, some when I don't.
thanks
Sent via Deja.com http://www.deja.com/
Before you buy.
In article <············@nnrp1.deja.com>, <···@usa.net> wrote:
>(defmethod foo ((bar (eql 1)))
> (print "foo: bar=1"))
>
>do I need to (declare (ignore bar))?
>some lisps complain when I do, some when I don't.
Try (declare (ignorable bar)). That's supposed to prevent both types of
warnings.
--
Barry Margolin, ······@genuity.net
Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
* sds wrote:
> (defmethod foo ((bar (eql 1)))
> (print "foo: bar=1"))
> do I need to (declare (ignore bar))?
> some lisps complain when I do, some when I don't.
I think IGNORABLE would be safe?
--tim