emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiler warnings for "unused" method specializers


From: Stefan Monnier
Subject: Re: compiler warnings for "unused" method specializers
Date: Fri, 14 Oct 2016 09:07:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

>> So maybe it's not worth adding extra compiler code to handle method
>> specializers, but it would be worth allowing multiple _s? I do like the
>> use of _ to say "this variable intentionally and permanently ignored".
> How about supporting CL-style ignore declarations?
> (defun foo (x) (declare (ignore x)) 1)

You can already do

    (defun foo (x) (ignore x) 1)


-- Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]