OxL Reference

Standard library

Modules, types, functions and methods

The reference is generated from the /// comments and signatures of std/ by oxl doc --std --json: a page for every module, type, function and method. The normative summary is part II of the Standard; the web server: II.4.

In this chapter

std.abstd.ab — A/B experiments (§18.5, D-6850..D-6862).
std.clusterstd.cluster — the node and its cluster (§12.3, single node
std.comptimestd.comptime — the read-only AST seen by lint plugins (ч.
std.coreMethods of List, Map, Set and String.
std.cryptostd.crypto — cryptography (II.1, §13.1).
std.ffistd.ffi — helpers for the C FFI (§16.1, D-1500..D-1510).
std.httpstd.http — HTTP client (HTTP/1.1, HTTP/2), server, router, SSE and WebSocket (II.1 std.http, [С ч.
std.iostd.io — files, directories, paths and standard input (II.1).
std.kvstd.kv — the transactional key-value store of a node (§12.8, D-4410..D-4419).
std.netstd.net — low-level networking (II.1)
std.obsstd.obs — observability (§15.5, II.1)
std.optstd.opt — hints for the optimizer (D-7690, D-7691).
std.ormstd.orm — tables over SQLite and PostgreSQL (II.1, §12.8, §5.9).
std.osstd.os — process arguments, environment, exit (II.1).
std.reflectstd.reflect — comptime reflection (§15.2, D-1900..D-1913).
std.rpcstd.rpc — status codes, metadata and in-process access to the wire entry of a service (§10.1, D-2900..).
std.sagastd.saga — sagas and durable pipelines (§10.6, §11.3, D-5100..D-5189).
std.serstd.ser — serialization ([С §9], II.2, D-2100..D-2199).
std.ser.formatsstd.ser.formats — the built-in formats under the names of the standard (formats.oxl/json/msgpack/cbor, II.1).
std.stmstd.stm — software transactional memory (§8.9, D-7521..D-7529).
std.streamstd.stream — operators on streams and the Broadcast hub (§10.3, §10.4, II.1/II.2; D-2600..D-2619).
std.teststd.test - fault injection for tests (§18.1, D-3601) and the controls of deterministic simulation (§18.4, D-4102).
std.timestd.time — time, calendar and clocks (§17).
std.topicstd.topic — topics
std.webstd.web — static sites for std.http (II.4 std.web, D-7884..D-7889)
Standard, part II: libraryThe text of the Standard by parts; the reference of modules and types is on the pages of the library.