Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 878 Bytes

i.8.6.1.1-type-signatures.md

File metadata and controls

5 lines (3 loc) · 878 Bytes

I.8.6.1.1 Type signatures

Type signatures define the constraints on a value and its usage. A type, by itself, is a valid type signature. The type signature of a value cannot be determined by examining the value or even by knowing the class type of the value. The type signature of a value is derived from the location signature (see below) of the location from which the value is loaded or from the operation that computes it. Normally the type signature of a value is the type in the location signature from which the value is loaded.

[Rationale: The distinction between a Type Signature and a Location Signature (below) is made because certain constraints, such as "constant," are constraints on values not locations. Future versions of this standard, or non-standard extensions, can introduce type constraints, thus making the distinction meaningful. end rationale]