出典:Wikipedia
出典:『Wikipedia』 (2011/07/15 10:23 UTC 版)
In type theory, the principal type of an expression is the most general possible type given an expression. One way to compute the principal type of an expression is by deploying Robinson's unification algorithm, which is used by the Hindley–Milner type inference algorithm.