Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Standard Library

Note:
The standard library is a work in progress. Some modules are complete while others are still in development. This documentation reflects the current state of the implemented modules.

Overview

The Atlas77 standard library provides essential data structures, utilities, and I/O functions. The library is organized into modules that can be imported individually.

Each module is now documented on its own page with complete API reference, usage examples, and best practices.

Module Index

Core Utilities

ModuleDescriptionStatus
std/ioInput/output operations (print, println, input, panic)✅ Stable
std/stringString manipulation and text processing✅ Stable
std/memMemory management utilities (swap, drop, size_of)✅ Stable

Collections

ModuleDescriptionStatus
std/vectorDynamic arrays with Vector✅ Stable
std/mapHash maps for key-value storage with Map<K,V>✅ Stable
std/queueFIFO queue data structure with Queue✅ Stable
std/iterIterator utilities with Iter✅ Stable

Error Handling

ModuleDescriptionStatus
std/optionalNullable values with optional✅ Stable
std/expectedResult types for error handling with expected<T,E>✅ Stable

File System

ModuleDescriptionStatus
std/fsFile operations (read, write, exists, remove)✅ Stable

Math & Time

ModuleDescriptionStatus
std/mathMathematical functions (abs, min, max, pow, trigonometry, random)✅ Stable
std/timeTime operations and formatting✅ Stable

Deprecated Modules

ModuleDescriptionStatus
std/boxHeap-allocated values - use direct allocation instead⚠️ Deprecated