Open pithyless opened 5 years ago
I suggest making your PR to https://github.com/droitfintech/clj-diff instead. They have a non-SNAPSHOT release of a fork and are clearly the communities preferred version. (9000+ downloads vs this SNAPSHOT deployment at 2000+).
FYI: This was fixed and released in community fork: [tech.droit/clj-diff "1.0.1"]
Nil is a valid value in a sequence, but was used as an iterator marker, causing program to hang. Similarly, patch used nil as a deletion-marker.
This commit replaces both nil uses with explicit sentinel values.