-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null is a primitive type - does it need a lib? #96
Comments
Just to keep the flow of unhelpful comments going: how about we ditch the |
I've forgotten the answer, but why is the better and not just uglier? |
Wait, why does |
It’s maybe better because we don’t need to explain why there is a separte type called But I guess that ship has sailed anyways since we have |
Why should that work? We don't derive equality functions for option (they are generic). Unless you want to special case that options of equality type admit equality, but then why not do that consistently for all equality types. |
FTR, ordering on |
Ah, right. |
TIL Null implements == and !=, but why bother? (
o == null
does not work for optionso : ? T
, only foro : null
.The text was updated successfully, but these errors were encountered: