Module core
Pseudo root of all pre-registered modules.
This is a fake module created to link together all of the modules that are automatically loaded in the interpreter.
Except for the prelude
module, all modules listed here can be imported
from any file inside of the interpreter. This is unlike other modules, which
are loaded using relative paths.
The prelude
module is unique because the classes, enums, and functions are
the foundation of the interpreter. Instead of requiring it to be imported,
the contents of prelude
are instead available without a namespace.
Modules
coroutine | The coroutine package provides a suspendable Function . |
fs | Functions for interacting with the underlying filesystem. |
introspect | This package provides introspection into the interpreter. Introspection allows finding out what modules have been imported and what symbols that those modules hold. Note that the api that this package exports is currently limited. |
math | The math package provides access to some useful math functions and constants. |
prelude | The prelude module provides the classes, vars, and functions that form the foundation of Lily. |
random | The random package provides access to a Mersenne Twister for pseudo-random number generation. |
subprocess | This package provides subprocess creation. |
sys | Interpreter and system environment access. |
time | The time package provides access to basic time information on the system. |