API Reference
112 modules
Actor
Actor module: messaging helpers for the actor system.
Array
Array module: persistent vector backed by a 32-way trie.
Audio
Audio — procedural sound-effect synthesis for March compiled with --target js.
Base64
Base64 module: standard, URL-safe, and MIME Base64 encoding/decoding.
BigInt
BigInt module: arbitrary-precision integers.
Bytes
Bytes module: raw byte manipulation.
CRDT
CRDT: state-based conflict-free replicated data types.
Canvas
Canvas — 2D drawing bindings for March compiled with --target js.
Channel
Channel module: Phoenix-style real-time channels for March.
ChannelServer
ChannelServer module: runtime helpers for Phoenix-style channel processes.
ChannelSocket
ChannelSocket module: WebSocket transport adapter for Channels.
Char
Char module: character classification and conversion utilities.
Check
Check module: property-test runner with integrated shrinking.
Cli
Cli module: parse argv-style command-line arguments into typed values.
Cluster
Cluster: peer address discovery for distributed March applications.
ClusterAuth
ClusterAuth: shared-secret challenge/response for the net-kernel handshake.
ClusterConn
ClusterConn: the net-kernel connection lifecycle (distributed P1, L2).
ClusterLoad
ClusterLoad: per-node CPU/memory headroom for capacity-aware RPC routing.
Compress
Compress module: gzip, deflate, zstd, and brotli compression.
Config
Config module: layered application configuration backed by Vault.
ConsistentHash
ConsistentHash: consistent hashing ring for distributed load balancing.
Crypto
Crypto module: general-purpose cryptographic primitives.
Csv
Csv module: streaming CSV parser.
DataFrame
DataFrame module: columnar, lazy-evaluated tabular data.
DateTime
DateTime module: date/time types and arithmetic.
Decimal
Decimal module: fixed-point decimal arithmetic for financial math.
Deque
Deque: functional double-ended queue with O(1) size tracking.
Dir
Dir module: directory I/O.
DistLink
DistLink: cross-node process monitors and bidirectional links (P5c).
DistSupervisor
DistSupervisor: a supervisor that manages children on remote cluster nodes (P5d).
Dns
DNS resolution module.
Dom
Dom — browser DOM bindings for March compiled with --target js.
Duration
Duration module: time span representation and arithmetic.
Enum
Enum module: Elixir-style enumeration over List(a).
Env
Env module: environment variable access for application configuration.
File
File module: filesystem I/O.
Flow
Flow module: backpressure-aware pipeline abstraction.
Forge
forge_nb.march — Notebook package management
Gen
Gen module: Hedgehog-style property-test value generators with integrated shrinking.
GlobalPid
GlobalPid: a serializable, cluster-wide process handle (P1 L4 prerequisite).
GlobalRegistry
GlobalRegistry: the cluster-wide name registry as a composite CRDT (P1 L5).
Hamt
HAMT — Hash Array Mapped Trie engine.
Handle
Handshake
Handshake: the net-kernel greeting + authentication decision.
HashMap
HashMap module: persistent hash-array-mapped-trie map.
Html
Html module: HTML escaping, safe HTML helpers, and template composition.
Http
Http module: pure HTTP protocol types, constructors, and transforms.
HttpClient
HttpClient: high-level composable HTTP client with step pipeline.
HttpServer
HttpServer module: server-side HTTP types and pipeline runner.
HttpTransport
HttpTransport: low-level HTTP transport layer.
IO
IO module: explicit I/O operations separate from Process.
IOList
IOList module: lazy, tree-structured string builder.
Iterable
Iterable module: sequence operations over List(a).
Json
Json module: JSON encoding and decoding.
JsonStream
JsonStream: resumable, total, constant-memory streaming JSON tokenizer.
LazyNicheProbe
REGRESSION FIXTURE for the lazy-load niche codegen path.
List
List module: immutable singly-linked list operations.
Logger
Logger module: structured logging with levels, scoped context, and
Map
Map module: persistent hash-array-mapped-trie map.
Math
Math module: mathematical functions and constants.
Membership
Membership: SWIM-style cluster membership with a CRDT member view (P1 L3).
Merkle
Merkle: content-addressed hash tree.
Msgpack
Msgpack module: MessagePack binary serialization.
NativeArray
NativeArray — flat numeric arrays for high-performance numeric loops.
NetFrame
NetFrame: length-prefixed framing for the distributed net-kernel transport.
NetKernel
NetKernel: the socket-level transport for distributed OTP (P1).
NodeCall
NodeCall: caller-side Node.call and server-side RPC dispatch loop (P3 L4).
NodeIdentity
NodeIdentity: a cluster node's identity, exchanged in the net-kernel handshake.
NodeRpc
NodeRpc: the receive-side RPC dispatcher + caller-side reply logic (P1 L4).
Option
Option module: operations on Option(a) = Some(a) None
OrderedMap
OrderedMap module: AVL tree-based sorted map.
Parallel
Parallel map-reduce over RRB.Vec.
Path
Path module: pure path manipulation (no I/O).
PeerRegistry
PeerRegistry: the net-kernel's one-connection-per-peer table.
Plot
Plot module: SVG chart generation.
Prelude
March Standard Library Prelude
Presence
Presence module: per-topic user presence tracking for Channels.
Process
Process module: OS process interaction.
PubSub
PubSub module: topic-based publish-subscribe backbone for Channels.
Queue
Queue module: functional double-ended queue (deque) using two lists.
RRB
RRB.Vec — persistent sequence for bulk-parallel work.
Random
Random module: purely-functional pseudorandom number generation.
Range
Range module: integer ranges as first-class values.
Regex
Regex module: simple regular expression engine (pure March implementation).
RemoteCall
RemoteCall: the L4 remote-procedure-call safety core (P1 L4).
Result
Result module: operations on Result(a, e) = Ok(a) Err(e)
RingBuf
RingBuf: mutable fixed-capacity circular buffer.
Seq
Seq module: lazy fold-based sequences (church-encoded).
Set
Set module: persistent hash-array-mapped-trie set.
Sigil
Sigil module: handlers for sigil expressions (~R, ~J, etc.)
Signal
Signal module: register deferred handlers for OS signals.
Socket
TCP socket module: a clean interface over the tcp_* builtins.
Sort
Sort module: Timsort, Introsort, and AlphaDev optimal comparison networks.
SortedSet
SortedSet module: AVL tree-based sorted set.
Stats
Stats module: descriptive statistics on List(Float).
String
String module: functions for working with UTF-8 encoded strings.
Swim
Swim: the SWIM failure-detection probe loop over a Membership CRDT (P1 L3).
SwimDriver
SwimDriver: runtime I/O glue for the pure Swim state machine (P2 L3).
System
System module: OS and runtime information.
Task
Task module: Elixir-style lightweight async tasks for one-off concurrent work.
Test
Test module: lightweight assertion helpers for in-process testing.
Tls
stdlib/tls.march — TLS (Transport Layer Security) support for March.
Toml
TOML v1.0 parser (pure March, no FFI)
Tuple
Tuple module: utilities for 2-tuples (pairs).
UUID
UUID module: RFC 4122 UUID generation and manipulation.
Uri
URI module: URL/URI parsing, encoding, and query-string manipulation.
Vault
Vault module: ETS-like in-memory key-value store.
VectorClock
VectorClock: causal ordering for distributed actors.
WebSocket
WebSocket module: types and API for WebSocket connections.
WorkDispatch
WorkDispatch: capacity-aware RPC routing (P4 L6).
Xml
Non-validating XML parser (pure March, no FFI, namespace-unaware).
Yaml
Simplified YAML parser (pure March, no FFI).