docs: rule len and cap as an i32 stability carve-out

This commit is contained in:
2026-08-09 04:40:40 +09:00
parent ac8ddee6c1
commit 7ab080fe2a
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ Signatures mirror Hare too, modulo:
- Tagged-union returns are spelled with the ww `!` error tag where
Hare uses `!void` / `!T`, and indices use the underlying length
type (`i32` today, since `str.len: i32`). Example:
type (`i32` under root CLAUDE.md rule 9). Example:
`strconv.stoi64(s: str, b: strconv.base) (i64 | invalid | overflow)`
— same shape as Hare's. The base parameter is the named enum
`strconv.base` (Hare uses `enum uint`; we pick `enum i32` to