Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^2: Something that bugs me about the Numeric class hierarchy in Perl 6by grondilu (Friar) |
on Nov 27, 2015 at 10:36 UTC ( [id://1148710]=note: print w/replies, xml ) | Need Help?? |
The intermediate results are indeed rats. And yes the result is a rat that looks like an integer. My point was that I wish there was no difference between a "rat that looks like an integer" and an actual integer. In other words, I wish integers were a special case of rats, because in math that's what they are, maybe not by definition, but at least by property : the set Z in included in the set Q. Thus my suggestion of using perl6's subset concept.
In Section
Meditations
|
|