Skip to content

use

Use a module

use x     use[x]

Where x is a symbol representing a module, loads the module if not loaded already and returns its exports as a dictionary.

q)lg:use `kx.log
q)key lg
,`createLog

If the module is not found, use lists the paths it tried and signals a notfound error.

For more details, refer to Get Started with the Module Framework.