What is Hindley-Milner?

Hindley-Milner is a type system discovered independently by Roger Hindley (who was looking at logic) and later by Robin Milner (who was looking at programming languages). The advantages of Hindley-Milner are It supports polymorphic functions; for example, a function that can give you the length of the list independent of the type of the elements, … Read more