[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: 7 logical-xor implementations in source tree
From: |
Drew Adams |
Subject: |
RE: 7 logical-xor implementations in source tree |
Date: |
Wed, 31 Jul 2019 14:38:01 -0700 (PDT) |
I don't understand what all the excitement
about defining an `xor' (with whatever name)
operator is about.
Common Lisp, like Emacs Lisp, has a bit-wise
xor operator. That makes sense - useful.
And Common Lisp, like Emacs Lisp, does _not_
have an xor operator for arbitrary Lisp values.
https://www.cs.cmu.edu/Groups/AI/html/cltl/clm/node75.html
Why is it important that Emacs Lisp have such
an operator? (Answer: it's not - YAGNI.)
Is it hard to understand (eq (not a) (not b))?
Is evaluation of that inefficient? Is it too
verbose?
What's the motivation for all of this?
My vote's against adding any such operator.
- Re: 7 logical-xor implementations in source tree, (continued)
- Re: 7 logical-xor implementations in source tree, Stefan Monnier, 2019/07/30
- Re: 7 logical-xor implementations in source tree, Barry Fishman, 2019/07/30
- Re: 7 logical-xor implementations in source tree, Richard Stallman, 2019/07/30
- Re: 7 logical-xor implementations in source tree, Barry Fishman, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Stefan Monnier, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Basil L. Contovounesios, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Michael Heerdegen, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Mattias EngdegÄrd, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Basil L. Contovounesios, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Michael Heerdegen, 2019/07/31
- RE: 7 logical-xor implementations in source tree,
Drew Adams <=
- RE: 7 logical-xor implementations in source tree, Drew Adams, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Basil L. Contovounesios, 2019/07/31
- RE: 7 logical-xor implementations in source tree, Drew Adams, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Basil L. Contovounesios, 2019/07/31
- Re: 7 logical-xor implementations in source tree, Marcin Borkowski, 2019/07/31
Re: 7 logical-xor implementations in source tree, Andy Moreton, 2019/07/23