Frank D. Engel, Jr. wrote:
unit foo; interface
propagates Bar, Baz, Fooz, Trook, Trog;
implementation end.
FWIW, I have often wished for a feature like this, too; how about this:
UNIT foo WITH Bar, Baz, Fooz, Trook, Trog; INTERFACE IMPLEMENTATION END.
This eliminates the need for an extra keyword.
Seems OK syntactically.
BTW, what about EP modules? They can have several interfaces. I guess auto-re-exports should only apply to `export all' interfaces.
Frank