4 ms·
Well, that just pushes the goalposts of the complaint: now Haskell has Int, and those other languages do not.
by Retra 8y ago
Well, that just pushes the goalposts of the complaint: now Haskell has Int, and those other languages do not.
- pera 8y agoI meant that in some way one could think of, for instance, C's int as a sum type of just integer and null :) in practice the obvious difference is that a language like Haskell enforce considering both options with its type checker.
- AnimalMuppet 8y agoNo, you can't think of C's int that way - it doesn't have a null.
- pera 8y agoYou are completely right, not sure where my head was :P