principal type

Computing Dictionary

principal type definition

The most general type of an expression. For example, the following are all valid types for the lambda abstraction (\ x . x):
Int -> Int Bool -> Bool (a->b) -> (a->b)
but any valid type will be an instance of the principal type: a -> a. An instance is derived by substituting the same type expression for all occurences of some type variable. The principal type of an expression can be computed from those of its subexpressions by Robinson's unification algorithm.
The Free On-line Dictionary of Computing, © Denis Howe 2010
Cite This Source
Previous Definition: principal sum
Next Definition: principal value
Words Near: principal type
More from
Synonyms and Antonyms for principal type
More from
Search for articles containing principal type
More from Translator Word FAQs presents 366 FAQs, incorporating some of the frequently asked questions from the past with newer queries.

Copyright © 2014, LLC. All rights reserved.
  • Please Login or Sign Up to use the Recent Searches feature