Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
zengid
· 2y ago · 0 comments
Chris Lattner recently explained that because of function overloads (and other features), type inference is really hard to make fast in Swift, and is why he says that "using Hindley-Milner was a mistake". [0]
[0]:
https://youtu.be/ENviIxDTmUA?si=FavjcK8IQygnlIwT&t=4417
Comments
[–]
saagarjha
2y ago
I don’t think Swift uses Hindley-Milner though?