[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Testing for #'eqness
- To: common-lisp@SAIL.STANFORD.EDU
- Subject: Testing for #'eqness
- From: "Steve Bacher (Batchman)" <SEB1525@draper.com>
- Date: Thu, 15 Sep 88 17:12 EDT
Moon's suggestions are a real win. It is much better to test a function
passed to another function by means of "is-this-named-eq-p" or
"is-this-a-valid-hashing-test-function-p" than by trying to compare it
to whatever #'eq ends up as being in the tester function's code.
There are ways to screw the system, of course, like creating another
compiled function called EQ (check the package???), but who cares.
Let 'em screw the system if that's what they really want to do. :-)