Standard Library
Import with:
use pie/std;
Modules and highlights:
- std::print, std::print_err, std::args
- std::fs::{read, write}
- std::to_string, std::to_int
- std::list::{new, len, get, set, push, pop, remove, add_in_place}
- std::map::{new, set, get, to_json, from_json}
- std::http::{get, post, put, delete, request, serve, serve_routes}
- std::iter::{new, next, range}
- std::rand::{int, int_range, float, float_range, ratio}
- std::num::{add_in_place, sub_in_place, mul_in_place, div_in_place}
- std::is_null, std::rc::{inc_ref, dec_ref}
See subpages for details and examples.