5 ms·
Is it? I checked before commenting (because I also wanted to make sure the arithmetic analogy actually held): irb(main):001:0> 0**0 => 1 irb(main):
by Twisol 8y ago
Is it? I checked before commenting (because I also wanted to make sure the arithmetic analogy actually held):
irb(main):001:0> 0**0
=> 1
irb(main):002:0> 0**1
=> 0
irb(main):003:0> 1**0
=> 1
irb(main):004:0> 1**1
=> 1
Notice that `p -> q` becomes `q^p`, i.e. the operands swap position.