Not having memorized the smartmatch table, that looked pretty strange to me at first, but looking at the table, at least it's well-defined... and when I tried it I got a "Argument "Hiya" isn't numeric in smart match" warning, which (although it's not much) is better than it silently matching. But the problem of when to match with == vs. eq remains...
In reply to Re^3: Bring back the smartmatch operator (but with sane semantics this time)!
by Anonymous Monk
in thread Bring back the smartmatch operator (but with sane semantics this time)!
by smls
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |