[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: circular module uses
Hi,
Isn't that just bad design? You need to split
the libraries up to avoid the circularity.
Cheers,
Mark.
"Gabor Greif" <ggreif@lucent.com> wrote in message 3C890764.439C028D@lucent.com">news:3C890764.439C028D@lucent.com...
> If I have a library with three modules (sketch):
>
>
> define library L
> use dylan;
>
> export a,b,c;
> end;
>
> define module a
> export xxx;
> end;
>
> define module b
> use a;
> use c;
> export yyy;
> end;
>
> define module c
> export zzz;
> end;
>
>
> Is it intended that module \b has access to \zzz from module \c ???
>
> I.e. Is it admissible that modules of a library have circular (forward) use dependencies?
>
> My idea is that this should be allowed. Is there a reason to forbid it?
>
> GD does not complain about it at least, but does not see \zzz from inside \b either.
> I guess this is a bug.
>
> Thanks,
>
> Gabor