Logos stdlib & special forms reference: overview

Copy Markdown

This "Stdlib Reference" section is a flat, per-symbol lookup companion to the language reference -- think ClojureDocs rather than a tutorial. Every entry across every page here is pulled live from the actual stdlib source (docstrings plus a runnable, freshly-evaluated example), generated by Logos.StdlibDocs (mix logos.gen_docs) -- this page included (see its own header comment above).

Special forms

  • Special forms (SPECIAL_FORMS.md) -- the six forms wired directly into Logos.Eval: quote, cond, do, def, fn, try. Everything else in the stdlib is a macro built from these plus primitives.

Primitives

  • Primitives (PRIMITIVES.md) -- every Layer-1, Elixir-implemented primitive (+, first, get, spawn, ...), the foundation every special form/macro/function elsewhere in the stdlib is ultimately built on.

Stdlib namespaces