jolt/test
Yogthos d16e1f4eba Step 4: lazy mapcat overlay — eliminate apply forcing on infinite inputs
mapcat in 10-seq.clj now uses a defn- mapcat-step helper that walks
lazy map results element-by-element (cons + lazy-seq), with explicit
arities for 1/2/3/4+ colls. The 4+-coll arity still uses apply to
spread colls to map, but apply no longer forces the inner map result.

Previously (apply concat (apply map f colls)) forced the lazy map
result through core-apply realize-for-iteration, which hung on
infinite inputs. The new step-based impl walks one element at a time
via first/rest/seq primitives.

Re-enabled deferred mapcat infinite-input harness case. 19/19 pass.

Gates: lazy-infinite 19/19, conformance 229/229 interpret+self-host
(compile 228/229 — 1 pre-existing protocol error), specs 32/32.
2026-06-08 08:14:59 -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 Step 4: lazy mapcat overlay — eliminate apply forcing on infinite inputs 2026-06-08 08:14:59 -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