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

circular module uses



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