Runtime library
The runtime builtins – the values bound in every module, which need no import – and the four library modules that ship with the package, imported as any Python module is. Every builtin name, layout, compile, and runtime, is listed on Builtin names.
Builtins
Page |
Covers |
|---|---|
Every bound type and the |
|
The arithmetic, bitwise, comparison, membership, and identity operators as functions |
|
Every other runtime builtin: predicates, pairs, collection builders, calling, async, iteration, conversion, attributes, refs, compilation |
|
The Koskari exception classes and their hierarchy; every Python exception type is bound too |
A Python builtin that is not bound, such as pow or eval, is reached
through (import builtins).
Detailed pages
Name |
Does |
|---|---|
Compile a source form to an invokable expression without running it |
|
Compile a form if needed and run it in a namespace |
|
The compiler that owns a namespace, for compiling into that module |
|
Expand a form until its head is no longer a macro |
|
One expansion step |
|
Expand a |
|
Documentation for a binding, through the pager |
|
The lazy iterators, which take Koskari callables directly and iterate from both sync and async consumers |
|
Nested item access and membership along a key path |
|
Nested attribute access and presence along a dotted path |
|
Construct a slice object, the runtime behind |
|
The calling Koskari frame’s namespace, or an object’s |
|
Whether the current context is on the demand path, where a bare |
Modules
Module |
Provides |
|---|---|
The |
|
|
|
|
|
The packaged icon, as SVG or PNG bytes or a filesystem path |
The full list with signatures is the
koskari.builtins API page.