Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
shpongled
on July 10, 2020
|
parent
|
context
|
favorite
| on:
Hindley-Milner Type Inference (2012)
You cannot unify a string and an integer. 'Base type' is just an abstraction over the enumerable primitive types (bool, unit, char, etc). It's generally understood that these are simple cases to unify, so they aren't even mentioned most of the time.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: