Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mbel
on Aug 11, 2017
|
parent
|
context
|
favorite
| on:
Typed nils in Go 2
> The problem is "null" being a value in all (non primitive) types, not only the bottom type.
Null is not a value of bottom type. Bottom type has no values.
junke
on Aug 11, 2017
[–]
Thanks, you are right, the bottom type has no value. I meant the "Null" type, which contains a single value, "null".
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
Null is not a value of bottom type. Bottom type has no values.