mirror of
https://github.com/penpot/penpot.git
synced 2026-06-02 13:01:07 -04: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.