> For the complete documentation index, see [llms.txt](https://docs.werwolv.net/pattern-language/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.werwolv.net/pattern-language/libraries/std.md).

# std

The `std` library is the Pattern Language's very own standard library. It contains various different helper functions and types as well wrappers for built-in functions.

{% hint style="danger" %}
**Never** use functions from the `builtin::` namespace directly! These functions are exposed by the runtime to provide native implementations of various functions.

Instead, include the correct library file and use the functions defined in there. Failing to do so will result in your pattern randomly breaking between updates.
{% endhint %}

{% hint style="info" %}
The [`io`](https://github.com/WerWolv/Documentation/blob/master/pattern_language/libraries/std/io.pat) and [`sys`](https://github.com/WerWolv/Documentation/blob/master/pattern_language/libraries/std/sys.pat) modules define members in the bare `std::` namespace.
{% endhint %}
