我可以像这样重新导出导入的模块:
module My (
module Another
, A
) where
import Another
Run Code Online (Sandbox Code Playgroud)
但是此表格只会导出Another和A。如何在不枚举所有导出符号的情况下导出所有内容(全部!)和导入的模块?像没有列表的导出之类的东西:
module My where
...
Run Code Online (Sandbox Code Playgroud)
PS。最后一种形式不重新导出导入模块。有可能吗?
module My (module My, module Another) where
import Another
Run Code Online (Sandbox Code Playgroud)
偷偷摸摸的吧?