TSa wrote:
Luke Palmer wrote: > That is, is 1 different from 1.0?I opt for 1 being Int and 1.0 being Num. But for the latter a test .does(Int) might succeed on the footing that the fractional part is zero, that is 1.0%1 == 0.
I'm very leery of the idea that "A.does(B)" ever returns true when role A does not compose role B; and my understanding has been that Int does Num, not the other way around. -- Jonathan "Dataweaver" Lang