top | item 41572120

(no title)

zengid | 1 year 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

discuss

order

saagarjha|1 year ago

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