Go backward to Semantics of Type Structures II
Go up to Top
Go forward to Semantics of Declaration Abstractions

Declaration Abstractions

D ::= ...| module I={D} | import I

module M = { class K = newint; var A: K;
    proc P = A:=0 };
var B: newint;
import M
in call P; B:=@A

Declarations in M is not visible in program until M is imported.


Wolfgang.Schreiner@risc.uni-linz.ac.at
Id: abstraction2.tex,v 1.1 1996/04/10 07:30:13 schreine Exp schreine

Prev Up Next