Jump to content

Typing environment

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Christian75 (talk | contribs) at 00:35, 26 July 2013 (in <math> without \left< and \right> which gives an error with png output). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In type theory a typing environment (or variable assignment) represents the association between variables names and data types. More formally an environment is a set or ordered list of pairs , usually written as , were is a variable and its type.

In statically typed programming languages these environments are used and maintained by type rules to type check a given program or expression.

See also