From 03e9df3ecf5b635d1cb3cadfc479dd1cf2deaaab Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 6 May 2026 18:57:24 +0000 Subject: [PATCH] =?UTF-8?q?plans:=20tick=20Phase=203=20squad=20=E2=8C=B7,?= =?UTF-8?q?=20progress=20log?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- plans/apl-on-sx.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plans/apl-on-sx.md b/plans/apl-on-sx.md index 5e84dda4..3b26f0c9 100644 --- a/plans/apl-on-sx.md +++ b/plans/apl-on-sx.md @@ -66,7 +66,7 @@ Core mapping: - [x] Reshape `⍴`, ravel `,`, transpose `⍉` (full + dyadic axis spec) - [x] Take `↑`, drop `↓`, rotate `⌽` (last axis), `⊖` (first axis) - [x] Catenate `,` (last axis) and `⍪` (first axis) -- [ ] Index `⌷` (squad), bracket-indexing `A[I]` (sugar for `⌷`) +- [x] Index `⌷` (squad), bracket-indexing `A[I]` (sugar for `⌷`) - [ ] Grade-up `⍋`, grade-down `⍒` - [ ] Enclose `⊂`, disclose `⊃`, partition (subset deferred) - [ ] Membership `∊`, find `⍳` (dyadic), without `~` (dyadic), unique `∪` (deferred to phase 6) @@ -118,6 +118,7 @@ data; format for string templating. _Newest first._ +- 2026-05-06: Phase 3 step 4 — squad ⌷ (scalar/multi-dim/partial-slice); 66/66 tests - 2026-05-06: Phase 3 step 3 — catenate , (last axis, scalar promo) and first-axis; 59/59 tests - 2026-05-06: Phase 3 step 2 — take ↑ (multi-axis, pad), drop ↓, reverse/rotate ⌽⊖ (last+first axis); 50/50 tests - 2026-05-06: Phase 3 step 1 — reshape ⍴ (cycling), transpose ⍉ (monadic+dyadic); helpers apl-strides/flat->multi/multi->flat; 27/27 structural tests; lib/apl/tests/structural.sx