Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
language:namespaces [2024/07/27 12:50] rajit [Opening namespaces] |
language:namespaces [2024/07/27 12:52] (current) rajit [Renaming namespaces] |
||
---|---|---|---|
Line 180: | Line 180: | ||
In this example, the '' | In this example, the '' | ||
has occured, there cannot be any naming conflicts. This version of '' | has occured, there cannot be any naming conflicts. This version of '' | ||
+ | |||
+ | Another renaming scenario that can be useful is to move a namespace into another one. | ||
+ | <code act> | ||
+ | import lib; | ||
+ | import lib => priv; | ||
+ | </ | ||
+ | The first import statement above loads in the '' |