in reply to Re^3: Bring back the smartmatch operator (but with sane semantics this time)!
in thread Bring back the smartmatch operator (but with sane semantics this time)!
When do you consider something a number?
I personally would just go for a technical, non-heuristic approach:
- Numbers: 42, $scalar+0, $scalar having a defined numeric context slot
- Non-numbers: 'quoted string', $scalar
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^5: Bring back the smartmatch operator (but with sane semantics this time)!
by moritz (Cardinal) on Jun 16, 2014 at 19:47 UTC |
In Section
Meditations