[Prev][Next][Index][Thread]

Re: Interfaces



Hugh Greene <q@tardis.ed.ac.uk> writes:

> Avoiding duplication is a very good principle, I agree.  It occured to me
> that one way to avoid repeating names in module definitions might be to
> allow an "exported" modifier on definition macros.  The problem I saw with

In fact, Gwydion Dylan uses a convention of writing something like

define /* exported */ method foo();

and includes a tool called make-exports that generates the module
definition from that.

Andreas

-- 
"C++ is history repeated as tragedy.  Java is history repeated
as farce." -- Scott McKay



References: