module Stack; import Ints := Pile(I64); import SYSTEM; var s: Ints.Pile; p*: ^Ints.Pile; (* s, which only this module could change by its name *) proc top*(): I64; begin return Ints.top(p); end; begin p := SYSTEM.ADR(s); end Stack.