5 ms·
I 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 langua
by pera 8y ago
I 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