3 ms·
The complaint about null as a bottom type and then saying haskell fixes it isn't quite right. Haskell has an explicit value ⊥ that is part of every type. This i
by rocqua 8y ago
The complaint about null as a bottom type and then saying haskell fixes it isn't quite right.
Haskell has an explicit value ⊥ that is part of every type. This is very close to Null with regards to the complaints of OP.
The difference is that ⊥ can't exist in a Haskell program. The moment you get it your program will either crash or loop forever.
(The reason it is useful has to do with lazy evaluation)