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

How do you say "ignore"?



Received: from THOMAS.LAAC-AI.Dialnet.Symbolics.COM by ALAN.LAAC-AI.Dialnet.Symbolics.COM via CHAOS with CHAOS-MAIL id 10004; Mon 11-Dec-89 20:02:01 PST
Date: Mon, 11 Dec 89 20:01 PST
From: Robert D. Pfeiffer <RDP@ALAN.LAAC-AI.Dialnet.Symbolics.COM>
Subject: How do you say "ignore"?
To: SLUG@ALAN.LAAC-AI.Dialnet.Symbolics.COM
Message-ID: <19891212040148.8.RDP@THOMAS.LAAC-AI.Dialnet.Symbolics.COM>

Does anyone have a standard idiom that they use when ignoring variables
in a destructuring pattern in LOOP?

For example:

(DEFUN IGNORE-TEST ()
  (LOOP FOR (X IGNORE) IN '((A B) (C D))
	COLLECT X))

The way this is currently written the compiler will complain:

For Function IGNORE-TEST
  While compiling (SETQ IGNORE (CAR #:TEMP)):
    The variable IGNORE is unknown and has been assumed SPECIAL