Issue #7511 has been updated by alexeymuranov (Alexey Muranov).


I have no opinion about whether it is needed, but a usual mathematical syntax would be  `x -> y`. So it can be `-->` for boolean and `->` for bitwise. But this could be confusing because of other existing or possible uses of `->`, `<-` etc.
----------------------------------------
Feature #7511: short-circuiting logical implication operator
https://bugs.ruby-lang.org/issues/7511#change-34412

Author: rits (First Last)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


I find I need logical implication (will use => here) in boolean expressions fairly often

and even though a => b is equivalent to !a || b, this substitute is more difficult to read and make sense of in long expressions




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