[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Argument lists: a proposal to shoot at
- To: gls@ZARATHUSTRA.THINK.COM
- Subject: Argument lists: a proposal to shoot at
- From: Jonathan A Rees <JAR@AI.AI.MIT.EDU>
- Date: Mon, 30 Jun 86 14:30:51 EDT
- Cc: common-lisp@SU-AI.ARPA, Moon@SCRC-STONY-BROOK.ARPA
- In-reply-to: Msg of Mon 30 Jun 86 13:57 EDT from Guy Steele <gls at Think.COM>
Date: Mon, 30 Jun 86 13:57 EDT
From: Guy Steele <gls at Think.COM>
Maybe it's not worth eliminating K, I grant. However, while it may be
reasonable for the author of the code to write (&key), it's not clear
that that information is important to a potential caller who needs to
know what arguments may be passed. Such a function accepts no keyword
arguments directly, and does not have &allow-other-keys, and so,
operationally speaking, what is the need to know that &key was there?
If the formal parameter list is (&key), then an actual parameter list of
(:foo 7 :allow-other-keys t :bar 'a) is legal, n'est-ce pas?