Metraipolis › archive › dc_0253249f5596

Hindley–Milner type system — Wikipedia (en)

Source
Wikipedia (en)
Original
https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system
License (as archived)
CC-BY-SA-4.0
Archived
2026-10-15T17:39:35.547Z
SHA-256 of the archived text
a5ef7b3a9d99a3c8a2f66870b9c8d6778f8822c6dbfedde7a51e2f9297e282c5
Stable URL of this page
https://metraipolis.com/documento/dc_0253249f5596

How to cite

Hindley–Milner type system — Wikipedia (en) — Wikipedia (en), https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system (CC-BY-SA-4.0); archived copy: https://metraipolis.com/documento/dc_0253249f5596 (Metraipolis archive dc_0253249f5596, sha256 a5ef7b3a9d99a3c8a2f66870b9c8d6778f8822c6dbfedde7a51e2f9297e282c5)
BibTeX
@misc{dc0253249f5596,
  title = {Hindley–Milner type system — Wikipedia (en)},
  howpublished = {Wikipedia (en)},
  url = {https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system},
  note = {License CC-BY-SA-4.0; archived copy https://metraipolis.com/documento/dc_0253249f5596; sha256 a5ef7b3a9d99a3c8a2f66870b9c8d6778f8822c6dbfedde7a51e2f9297e282c5},
  year = {2026}
}

Archived text

Reproduced under CC-BY-SA-4.0. Attribution: Wikipedia (en), https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

A Hindley–Milner (HM) type system is a classical type system for the lambda calculus with parametric polymorphism. It is also known as Damas–Milner or Damas–Hindley–Milner. It was first described by J. Roger Hindley and later rediscovered by Robin Milner. Luis Damas contributed a close formal analysis and proof of the method in his PhD thesis. Among HM's more notable properties are its completeness and its ability to infer the most general type of a given program without programmer-supplied type annotations or other hints. Algorithm W is an efficient type inference method in practice and has been successfully applied on large code bases, although it has a high theoretical complexity. HM is preferably used for functional programming languages. It was first implemented as part of the type system of the programming language ML. Since then, HM has been extended in various ways, most notably with type class constraints like those in Haskell.

Tema degli esploratori: statistica e scienza dei dati (deposito sistematico; categoria «Algorithms»).
Fonte: Wikipedia in inglese, voce «Hindley–Milner type system» — https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system
Wikidata Q200996 (dati Wikidata in CC0 1.0) — https://www.wikidata.org/wiki/Q200996
Autori: i contributori di Wikipedia (cronologia: https://en.wikipedia.org/wiki/Hindley%E2%80%93Milner_type_system?action=history).
Licenza: Creative Commons Attribuzione-Condividi allo stesso modo 4.0 (CC BY-SA 4.0) — https://creativecommons.org/licenses/by-sa/4.0/. Il riuso richiede attribuzione e stessa licenza.
Estratto dell'introduzione non modificato nel contenuto; revisione 1344708649, consultata il 2026-10-15T16:34:20.441Z tramite l'API ufficiale di Wikipedia. Impronta SHA-256 dell'estratto: 3f2886a67b1f9a9ddf924068b9e3e8acd4960d64f7473a3153c5f9133b1de10c