On Tuesday, November 5, 2002, at 06:51  AM, Peter Haworth wrote:
On Wed, 30 Oct 2002 15:31:24 -0800, Michael Lazzaro wrote:
Meaning that the list:

   +^    - force to numeric context, complement
   ~^    - force to string context, complement
simply becomes:
   ^     - complement (type-specific)
Does this include booleans? I really liked the idea that not and xor were
just the same operator, but unary/binary. Otherwise, we have ! for boolean
negation only, while ^ does the same thing for other types, as well as xor
for everything. I don't mind leaving ! in as a synonym.
Yes, almost certainly a ^ on a bit or boolean would be the same as ! -- they both would negate, since the complement of 1 is 0, and vice versa.

MikeL

Reply via email to