This documentation is also published as Markdown for efficient machine reading: the whole site is indexed at /llms.txt, and every page has a clean Markdown copy at the same URL with .md appended. These are generated from the same source and cost far fewer tokens to read than this rendered HTML.

Skip to main content Skip to navigation
Standard Library

std.convert

Unions

Union Description
ConvertError Why a string could not be converted to a number.

Functions

Function Description
atoi(value: string) -> Result<i32, ConvertError> Converts the string to an i32.
itoa(value: i32) -> string Converts the number to a string.

ConvertError

Case Description
invalid The string is not a number.
overflow The number is outside the range of an i32.
Member Description
describe() -> string Returns a description of the error.
Mew is a programming language under construction.