Is this valid EP?
module m;
export m = all;
const o = 'O'; k = 'K';
end;
end.
program p (Output);
import m only (o); m only (k);
begin WriteLn (o, k) end.
The following might mean it isn't:
: The occurrence of an interfaceÂidentifier in an importÂspecification shall : constitute the definingÂpoint of the identifier of the interfaceÂidentifier : as an importedÂinterfaceÂidentifier for the region that is the block, : moduleÂheading, or moduleÂblock closestÂcontaining the : importÂspecification.
Frank