SagaSaga
Standard Library

index

Modules

  • Std.Actor — Concurrency primitives for the BEAM actor model.
  • Std.Array
  • Std.Async — Lightweight async/await built on top of the Actor model.
  • Std.AtomicRef — Process-safe mutable references backed by ETS with a lock server.
  • Std.Base — Core traits and primitive type class instances.
  • Std.BitString — Operations on raw binary data (Erlang bitstrings).
  • Std.Bool — Boolean operations.
  • Std.Control — Classic monadic effects: Reader (ambient environment) and Writer
  • Std.DateTime — Date, time, and datetime types with formatting, parsing, and arithmetic.
  • Std.Dict — Immutable key-value dictionaries backed by Erlang maps.
  • Std.Dynamic — Type-safe decoding of dynamically typed BEAM values.
  • Std.Env — Access to system environment variables.
  • Std.Fail — Short-circuit failure effect, parameterized by the error type.
  • Std.File — File system operations through an algebraic effect.
  • Std.Float — Floating-point conversion and arithmetic operations.
  • Std.Generic — Generic representation building blocks for user-extensible derives.
  • Std.IO — Standard I/O effect for printing and reading from the console.
  • Std.IO.Unsafe — Low-level I/O primitives that bypass the Stdio effect.
  • Std.Int — Integer conversion, arithmetic, and bitwise operations.
  • Std.List — Operations on linked lists: transforming, searching, sorting, and more.
  • Std.Math — Mathematical constants and functions for floating-point arithmetic.
  • Std.Maybe — Optional values: a type-safe alternative to null.
  • Std.Process — Low-level process control: exiting the VM and catching panics.
  • Std.Ref — Mutable references via an algebraic effect, with process-local and ETS-backed handlers.
  • Std.Regex — Regular expression matching and replacement using POSIX-style patterns.
  • Std.Result — Computations that can succeed (Ok) or fail (Err) with a typed error.
  • Std.Set — Immutable sets backed by Erlang's sets module (version 2).
  • Std.Stream — Lazy, pull-based, possibly-infinite sequences built on first-class continuations.
  • Std.String — Unicode string operations: slicing, searching, casing, and more.
  • Std.Supervisor — Retry-based supervision for effectful computations.
  • Std.Test — Test framework with assertions, grouping, and focused/skipped test support.
  • Std.Time — Monotonic time for measuring durations.
  • Std.Tuple — Operations on tuples.
  • Std.Vec — Mutable vectors via an algebraic effect, backed by ETS composite keys.