Issue #15559 has been updated by sawa (Tsuyoshi Sawada).


Unlike `&&` and `||`, which involves short-circuit evaluation, and hence are keywords rather than methods, the proposed `^^` will not involve short-circuit evaluation.  Which is the intended proposal: as a keyword, or as a method?

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

* 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>