Holiday is over, now I have fun again. No code changes. (0.38.11)
This commit is contained in:
parent
bd2d619cb9
commit
f896e1d3bf
13 changed files with 329 additions and 0 deletions
26
docs/stdlib.md
Normal file
26
docs/stdlib.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# Standard Library Overview
|
||||
|
||||
This page provides a quick orientation to the standard library located under `./lib/`.
|
||||
|
||||
The stdlib is written in Fun and organized by domain. Below are top-level modules and what they generally cover. Refer to the source for full APIs and examples.
|
||||
|
||||
## Module index (selected)
|
||||
- `crypt/` — cryptographic helpers (hashing, encoding helpers). See also `lib/crypt`.
|
||||
- `encoding/` — text/binary encodings and conversions.
|
||||
- `io/` — file and stream utilities.
|
||||
- `net/` — basic networking helpers.
|
||||
- `regex/` — regular expression utilities (PCRE2 when available).
|
||||
- `ui/` — UI helpers (e.g., Tk if enabled at build time).
|
||||
- `utils/` — small reusable helpers and utilities.
|
||||
|
||||
Note: Availability of some modules can depend on optional extensions selected at build time (see `docs/build.md`).
|
||||
|
||||
## Using modules
|
||||
```fun
|
||||
include "utils/strings.fun" as strings
|
||||
|
||||
let s = strings.trim(" hello ")
|
||||
print(s)
|
||||
```
|
||||
|
||||
For search paths and namespacing details, see `docs/includes.md` and `docs/cli.md` (FUN_LIB_DIR and DEFAULT_LIB_DIR).
|
||||
Loading…
Add table
Add a link
Reference in a new issue