>>94Your google-fu is spectacular yet transparent. Functors are part of the language.
OK cretin, let's do it your way. Let's totally ignore the case I've been running with (division) in favour of your straw man. Let's take length. So I have a block of code containing
length foo
. By your assumption I don't care bout the actual type of
foo
, but now I want to add something to it. Oh shit! Suddenly I need to know if it's a list so I can prepend to it, or a hash so I need a key to go with the value, or a mutable array so I should be smashing my eyes open with a hammer, or maybe I can just use + on it and hope for the best, eh?
>>95It's hardly curious. You basically answered yourself. That, and the fact that integers are treated specially by the GC though floats are boxed, but I assumed this other guy knew that because it's so common in functional languages (a trait shared with Lisp and any other language with 31- or 63-bit numbers).