Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rwmj
on July 22, 2024
|
parent
|
context
|
favorite
| on:
What's the point of std:monostate? You can't do an...
Or "unit" in ML-derived languages and Haskell.
fire_lake
on July 22, 2024
[–]
I always think of unit as one - it has exactly one possible value.
Void doesn’t exist in ML
millimeterman
on July 22, 2024
|
parent
|
next
[–]
Void definitely exists in ML.
—- Haskell data Void (* Standard ML *) datatype void = Void of void
ackfoobar
on July 22, 2024
|
parent
|
prev
[–]
log 1 = 0, so it has exactly zero bits of information.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: