Hacker News new | ask | show | jobs
by zengid 632 days ago
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

1 comments

I don’t think Swift uses Hindley-Milner though?