0 < 5 < 100; #True 10 == 10 == 10; #True
That means you can make your own chaining comparison ops (or overload the current ones) with something like:
multi infix:<~=>(Rat $l, Rat $r) { ($l-$r) < 0.1 ?? True !! False } is equivalent('<');
0.1 + 0.2 = 0.3 # True
That means you can make your own chaining comparison ops (or overload the current ones) with something like:
Much of Raku such as the default use of Rationals (Rat) is intended to make the language more approachable for non CS experts, so yes: