jolt/test
Yogthos c7378f4be0 core: jolt-b56 — lazy sequence (the laziness-coupled straggler)
(sequence xform coll) was eager (transduce into a tuple), so it hung on infinite
input. Now it's a lazy buffered transducer pump: pulls one source element at a
time, pushes it through the transducer's reducing fn into a buffer, and emits
buffered outputs lazily — so (take 3 (sequence (map inc) (range))) works.
Honors `reduced` (early stop) and runs the completion arity to flush stateful
transducers. Normalizes the source via core-seq (walking a raw pvec/set would
misfire — seq-done? uses length, which counts a pvec table's keys).

The other jolt-b56 items stay native by design: sequential?/seqable? are
representation-coupled and representation-mode-sensitive (jolt-1vx); realized?
reads the tagged :realized flag; cat/eduction/transduce/halt-when/unreduced/
ensure-reduced are the transducer/Reduced kernel the issue says to keep native.

Note: partition-all has no transducer (1-arg) arity, so (sequence (partition-all
2) …) errors — a pre-existing gap, unrelated to this change.

Gate: conformance 249x3, lazy-infinite 44/44, fixpoint, self-host, specs+unit green.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 18:00:05 -04:00
..
bench core migration: phase 0 audit + perf baseline (jolt-1j0) 2026-06-06 22:54:07 -04:00
clojure-stdlib/clojure stdlib: port clojure.data, rewrite clojure.zip; fix with-meta nil; add battery 2026-06-06 19:02:26 -04:00
integration core: jolt-b56 — lazy sequence (the laziness-coupled straggler) 2026-06-08 18:00:05 -04:00
spec Phase 5: true laziness — lazy transformers + deadlined harness 2026-06-08 00:40:56 -04:00
support Phase 5: true laziness — lazy transformers + deadlined harness 2026-06-08 00:40:56 -04:00
unit vars: add per-var generation counter, bumped on root change 2026-06-06 16:47:44 -04:00