Issue #15559 has been updated by mame (Yusuke Endoh).


> Would it be possible to have logical ^^ in addition to the bitwise ^ for XOR?

I think it is possible, but we need a good reason to do so.  Do you have any use case?

----------------------------------------
Feature #15559: Logical XOR (^^) operator
https://bugs.ruby-lang.org/issues/15559#change-76488

* Author: baweaver (Brandon Weaver)
* Status: Open
* Priority: Normal
* Assignee: 
* Target version: 
----------------------------------------
Currently we have bitwise `&` and logical `&&`, and bitwise `|` and logical `||`. Would it be possible to have logical `^^` in addition to the bitwise `^` for XOR?



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>