Skip to content

Commit d65f524

Browse files
committed
Add I7: into 3-arity transducer returns empty collection
Discovered during markdown-editor fix: (into [:div] (map f) coll) silently produces [:div] with no children. Workaround: 2-arity into.
1 parent 5dcf302 commit d65f524

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.dev/tracker.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,12 @@ existing Form-2 components are detected and preserved.
262262

263263
All previously tracked issues (I1–I6) have been resolved. See `archive/bugs-fixed.md` for details.
264264

265+
### I7: `into` 3-arity (transducer) silently returns empty collection
266+
267+
`(into [:div] (map f) coll)` produces `[:div]` with no children. The 2-arity form
268+
`(into [:div] (map f coll))` works correctly. Root cause: transducer protocol path
269+
in `into` not fully implemented. Workaround: use 2-arity `into` or `(apply conj target (map f coll))`.
270+
265271
## Workarounds (Platform Constraints)
266272

267273
- **defc names require hyphen**: Custom Element names require a hyphen (web standard). `(defc counter ...)` fails — use `(defc sample-counter ...)`.

0 commit comments

Comments
 (0)