From: mame@...
Date: 2019-01-24T02:26:23+00:00
Subject: [ruby-core:91243] [Ruby trunk Feature#15559] Logical XOR (^^)	operator

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>