Core Library

Spore has a core library of packages. It is importable using the core: prefix with #import.

This is not the same as Want's own standard library, accessible with the want: prefix.

The bits package provides functions for bitwise operations.

bits = (#import "core:bits")

The ns package provides helpers for building namespaces (NS, get, mkEntry), used when a Spore entrypoint is handed its context as a namespace.

ns = (#import "core:ns")