Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
arianvanp
on Nov 19, 2019
|
parent
|
context
|
favorite
| on:
Algebraic Data Types: Things I wish someone had ex...
You can't. The Natural number definition combines a sum type with a recursive position. Or in other words, a finite tag (either zero or successors, 2 options) plus a pointer to the next value in the case of successor.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: