Standard Library
Self-hosted in Cure, extracted live from lib/std/
at compile time. 33 modules total.
Core
Std.Core
Identity, composition, booleans, comparison, and the `Result` / `Option` sum types.
Std.Equal
Propositional equality combinators.
Std.Eq
Equality protocol for structural comparison of values.
Std.Ord
Ordering protocol: three-way compare plus total-order helpers.
Std.Show
The `Show` protocol: convert values to their human-readable `String` form.
Std.Functor
Functor protocol for structures that support `fmap`.
Std.Refine
Refinement type combinators.
Collections
Std.List
Eager, persistent, singly-linked lists.
Std.Map
Map operations: get, put, delete, keys, values, merge.
Std.Set
Sets represented as maps with `true` values.
Std.Pair
Two-tuple helpers.
Std.Vector
Vector (dynamic array) operations backed by Erlang lists.
Std.Iter
Minimal lazy-iterator helpers (v0.19.0).
Std.Access
Access protocol and composable lenses, modelled on Elixir's [`Access`](https://hexdocs.pm/elixir/Access.html) behaviour.
Std.Match
Convenience helpers built on top of v0.18.0 deep destructuring.
Text & Regex
Numeric
I/O & System
Concurrency
Std.Actor
Typed-actor runtime operations: spawn, stop, send, introspect.
Std.Process
Raw process primitives: links, monitors, trap_exit.
Std.Supervisor
Start, stop, and introspect Cure supervisor trees.
Std.Fsm
FSM runtime operations: spawn, stop, send events, get state.
Std.App
Start, stop, and inspect OTP applications from Cure.
Std.CRDT
Conflict-free Replicated Data Types for Cure (v0.27.0).