4 ms·
> This is the only language I know of that uses None In the ML family the empty alternative of the `Option` type is called `None`; in Haskell corresponding `Ma
by taejo 7y ago
> This is the only language I know of that uses None
In the ML family the empty alternative of the `Option` type is called `None`; in Haskell corresponding `Maybe` type has `Nothing`.
- Phemist 7y agoCool! Good to know. I don't think None is totally problem free either, as it is easy to confuse with `NaN`. `Nothing` definitely bypasses all the mentioned issues and seems like a better choice.