Commit 458933b
committed
fix: io+math STAGE-A resolution (ADR-011 use + trunc builtin seed)
io.affine: split() is cross-module (defined in string.affine). Per the
ruled ADR-011 model (explicit `use module::{...}`), make `split` pub in
string.affine and add `use string::{ split };` to io.affine.
math.affine: `trunc` is a genuine runtime builtin (interp.ml:674,
kernel_sublang.ml:128) but was missing from the resolver builtin-seed
list (siblings floor/ceil/round are seeded). Add `def "trunc"`.
(pow/to_float/fract are defined locally in math.affine — not builtins.)
Base 651cc12 (post #166/#168/#169). Refs #1281 parent 651cc12 commit 458933b
3 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
119 | | - | |
| 119 | + | |
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
| |||
0 commit comments