previous up next
Go backward to Argument Evaluation
Go up to Top
Go forward to Polymorphism and Typing
RISC-Linz logo

Parameterized Type Expressions

Intersting parameterized abstract.

D ::= ...| type I1(I2) = T | ...
T ::= ...| I(T) | ...

type STACKOF(T) = record
    var ST: array [1..k] of T;
    var TOP: nat
end

var X: STACKOF(nat)

Semantics can be constructed analogously to that of procedures.


Author: Wolfgang Schreiner
Last Modification: December 18, 1997

previous up next