mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 03:38:18 +00:00
The index-of-pred function used (nil? c) to detect end-of-collection, which caused premature termination when the collection contained nil values. Rewrite using (seq coll) / (next s) pattern to correctly distinguish between nil elements and end-of-sequence.