Doh!... On one hand, that's a "yay", 'cos it means that I'm not the only person who likes that idea. On t'other, I don't get to be the guy who thought of it first. Meh. =/
...on a more serious note, the RFC suggests some kind of weird list-associative-ish behaviour for comparison ops. My method strikes me as more elegant, although I do like their idea of chained comparisons short-circuiting.
In reply to Re^2: numbers with chainable comparisons
by Irrelevant
in thread numbers with chainable comparisons
by Irrelevant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |