<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"> > Do you mean, a module importing another module</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"> > also </span></font><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;">has to explicitly
import all modules referred</span></pre><pre><span style="white-space: normal; background-color: rgba(255, 255, 255, 0); font-family: UICTFontTextStyleBody;"> > by the imported module? That would be
strange.</span></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;"><br></span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">No! In general, this is not necessary, as the compiler</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">handles indirect imports. One only needs to import</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">an intermediate module, if the importing module</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">refers to its exported objects. But *if* it is imported,</span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal;">all modules must be imported in the right order.</span></font></pre><div dir="ltr"><br></div></body></html>