data-lines.scp (453B)
1 !export dataLines 2 -- Pure application pipeline: split LF-delimited bytes, then keep the lines 3 -- accepted by a configured filter. The input is bytes, not a file path; 4 -- filesystem access remains an explicit runner boundary. The initial state 5 -- is (splitLines worker, filter worker). Nothing resolves names implicitly. 6 consumer dataLines 7 bytes @ (splitter, filtering) => 8 call splitter bytes as lines in 9 call filtering lines as kept in kept