[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: common-lisp@SU-AI.ARPA
- Subject: XOR
- From: David A. Moon <Moon@SCRC-STONY-BROOK.ARPA>
- Date: Thu, 26 Dec 85 13:05 EST
- In-reply-to: The message of 22 Dec 85 17:15-EST from MURRAY%umass-cs.csnet@CSNET-RELAY.ARPA
Date: Sun, 22 Dec 85 17:15 EST
I think the discussion about whether there should be an XOR
function is very much off the mark. I think the criterion for
including any new operator in the language should be one of
1) It is not possible to write it in Common Lisp.
2) It can be implemented MUCH more
efficiently in an implemention dependant way.
3) It requires a lot of programming effort (and is generally useful).
As long as an operator is implementable in Common Lisp, your program
would still be portable.
The only problem that could arise is that your function/macro
is called something that later on becomes defined in Common Lisp, with
different syntax/semantics. But that problem exists with ANY operator
that you define, and packages can deal with it. Thus I see no reason
to include something like XOR. The language is certainly big enough
I agree completely. I could not have stated my position as clearly and
completely as you have.
[Rest of message, about other issues, not included in this particular reply]