Similar to `+=`, `-=`, `*=`, or `/=` being able to do something like `x or= 
0b110101` would be really nice syntactic sugar. The alternative `someLongerName 
= someLongerName or (extremelyComplex and geniusBitFiddling)` becomes quickly 
hard to read (and write).

I noticed that simply creating a new operator function (`func `or=`(a: var 
SomeNumber, b: SomeNumber) =`) doesn't to work, as when using this function, 
the keyword `or` messes things up (?).

Is it possible within reasonable expenses to implement something that this 
could work? Of course, one could use something like `|=` or `&=` but this is 
probably even more confusing.

Reply via email to