When you import a module, every symbol it exports becomes accessible from the
current scope. But if you use a from-import statement, only symbols you mention
would be accessible.
import math
import strutils
echo PI #same as math.PI
echo "1 2".split() #same as strutils.split("1 2")
Run
- Identifier names space in Nim mardiyah
- Identifier names space in Nim SolitudeSF
- Identifier names space in Nim xigoi
- Identifier names space in Nim r3c
- Identifier names space in Nim sls1005
