Arc Forumnew | comments | leaders | submitlogin
The programming language zoo (andrej.com)
2 points by akkartik 3815 days ago | 1 comment


2 points by rocketnia 3814 days ago | link

I've never done Hindley-Milner type inference before, and I just took a look at Poly. It's nice to see the solve function there, looking nice and simple like I hoped. XD It seems Algorithm W just treats the program as a graph of type equality constraints, and it does substitutions and such until it runs out of equations to process, at which point it's collected a full map of type variable bindings. I hope that makes sense.

Thanks for posting this. :)

-----