Builtin types
Types the language provides directly, with the methods every value of that type carries.
- Array<T>Array adapters materialize fresh arrays; methods marked mutating change the receiver explicitly.83 symbols
- Iterator<T>Iterator adapters are lazy and single-pass; terminals consume from the current cursor position.69 symbols
- NdArray<T>A compact, typed, n-dimensional numeric array.57 symbols
- Future<T>A lazy asynchronous computation.8 symbols
- AsyncErrorStructured retained runtime failure passed to
Future.catch.6 symbols
Standard library
Modules any program can reach with use std.<module>.
- std.argsTyped command-line flags, values, and subcommands36 symbols
- std.arrayEager helpers for transforming and grouping arrays32 symbols
- std.benchMicrobenchmark measurement and reporting4 symbols
- std.buildNamed project tasks and dependency build recipes113 symbols
- std.bytesA growable byte buffer and string builder25 symbols
- std.channelBounded channels between async tasks7 symbols
- std.convertExplicit conversions between primitive values6 symbols
- std.counterOccurrence counting over dictionaries4 symbols
- std.csvReading and writing RFC 4180 CSV data8 symbols
- std.dbApplying ordered SQL-file migrations4 symbols
- std.displayStandard-library module
std.display2 symbols - std.encodingBase64 and hexadecimal encoding11 symbols
- std.ffiByte transfers and resource ownership at C boundaries12 symbols
- std.fmtFormatting numbers, values, and reusable format strings20 symbols
- std.fsFiles, directories, metadata, and filesystem watching57 symbols
- std.hashCryptographic and non-cryptographic hashes6 symbols
- std.heapA comparison-ordered binary heap4 symbols
- std.httpHTTP requests, streaming responses, and downloads55 symbols
- std.http_serverHTTP listeners, handlers, streaming bodies, and multipart input52 symbols
- std.ioStandard input and output5 symbols
- std.isolateIndependent multi-core workers and their channels8 symbols
- std.iterLazy iterator constructors5 symbols
- std.jsonJSON values, parsing, printing, and typed codecs69 symbols
- std.logStructured application logging20 symbols
- std.mathNumeric helpers, roots, powers, trigonometry, and logarithms45 symbols
- std.ndarrayDense numerical arrays, views, reductions, and matrix operations59 symbols
- std.netStandard-library module
std.net7 symbols - std.optionalStandard-library module
std.optional7 symbols - std.ormTyped PostgreSQL models, queries, relations, and migrations128 symbols
- std.osEnvironment, platform, host, and signal information18 symbols
- std.parallelCollection work distributed across CPU cores5 symbols
- std.pathLexical path joining and inspection11 symbols
- std.processProgram arguments and child-process management62 symbols
- std.profileStandard-library module
std.profile23 symbols - std.randomSeeded pseudo-random numbers, choices, and shuffling11 symbols
- std.reflectRead-only inspection of values97 symbols
- std.regexRegular-expression matching, captures, and replacement15 symbols
- std.resultStandard-library module
std.result8 symbols - std.setSet operations over unique values9 symbols
- std.sharedRead-only strings shared across isolates8 symbols
- std.sqlPostgreSQL connections, queries, rows, pools, and transactions178 symbols
- std.stringsByte-string search, transformation, splitting, and parsing45 symbols
- std.taskStandard-library module
std.task8 symbols - std.templateLightweight key-based text templates8 symbols
- std.testingAssertions for moon tests8 symbols
- std.timeClocks, sleeping, date-time values, and ISO-8601 conversion33 symbols
- std.unicodeUnicode traversal, slicing, and case conversion9 symbols
Packages
Optional first-party packages for common application needs.
- moon_fswatchA debounced "something changed under here" signal13 symbols
- moon_htmlTolerant HTML parsing for real-world pages36 symbols
- moon_routerChi-style HTTP routing for std.http_server175 symbols
- moon_storageA keyed filesystem over one or more rooted directories47 symbols
- moon_tuimoon_tui high-level facade498 symbols
- moon_uiA declarative widget toolkit in the spirit of vlang's
ui195 symbols