From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!129.240.148.23!uio.no!nntp.uio.no!ifi.uio.no!not-for-mail From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Creating functions at runtime Date: 06 Oct 2002 02:01:04 +0000 Organization: Naggum Software, Oslo, Norway Lines: 31 Message-ID: <3242858464030907@naggum.no> References: <87lm5cpubf.fsf@pokey.henrik-motakef.de> <87heg0pnxa.fsf@pokey.henrik-motakef.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: maud.ifi.uio.no 1033869664 20457 129.240.65.5 (6 Oct 2002 02:01:04 GMT) X-Complaints-To: abuse@ifi.uio.no NNTP-Posting-Date: 6 Oct 2002 02:01:04 GMT Mail-Copies-To: never User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Xref: archiver1.google.com comp.lang.lisp:43165 * Henrik Motakef | Why are the *-if-not forms deprecated? They were deemed to be replaceable with `complement´ that was created to make the `:test-not´ keywords obsolete because the semantics of supplying both `:test´ and `:test-not´ arguments was unclear. In practice, using `complement´ in preference to `-if-not´ and `:test-not´has not been a succcess. | Is this something to really worry about? No. The `-if-not´ functions will remain in a future version of the standard as it was a mistake to deprecate them. However, the likelihood of there being a future version of the standard is pretty low, too, so if you want to use `:test-not´ arguments, rest assured that they have well-defined semantics when not used in the presence of `:test´ and vice versa. The complications mainly involve the use of `apply´ on an argument list that may contain `:test´ or `:test-not´ arguments and you supply other arguments before them. The obvious solution of using the first match is underspecified and cannot be trusted to be implemented everywhere. However, if an implementation chooses to treat an argument list like `:test-not foo :test bar´ to mean that `bar´ will be called and not `foo´, it is clearly a design mistake and should be reported as a bug. -- Erik Naggum, Oslo, Norway Act from reason, and failure makes you rethink and study harder. Act from faith, and failure makes you blame someone and push harder.