https://gitlab.synchro.net/main/sbbs/-/commit/44e412b47990ef7178a62032
Modified Files:
src/syncterm/scripts/syncterm.wren
Log Message:
SyncTERM: Cells is Sequence
The iterate / iteratorValue protocol Cells already implemented makes
it Sequence-compatible — declaring it `is Sequence` brings in all of
Wren core's iteration helpers (each, where, map, all, any, contains,
count(f), reduce, join, take, skip, isEmpty, toList) without any
extra C-side bindings.
The O(1) foreign `count` getter overrides Sequence's default
(which would otherwise walk the iterator).
Co-Authored-By: Claude Opus 4.7 (1M context) <
noreply@anthropic.com>
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net