As the Christian says, "it is impossible to import all functions from a module." The compiler does not have an import_all directive, and I think that this is done intentionally to prevent excessive import of functions.
Importing functions instead of their full qualifications M:F(...) usually bad. There is a semantic difference between calling a module-local function and a function in another module (code loading rules), so I think it's best to make other people's calls explicit. It would be possible to make exceptions for importing the functions of the dict / lists / sets module, since they are usually understood and are unlikely to change during the code update.
archaelus
source share