Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace nil with explicit sentinel for diff and patch #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pithyless
Copy link

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.

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.
@terjedahl
Copy link

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+).

@pithyless
Copy link
Author

FYI: This was fixed and released in community fork: [tech.droit/clj-diff "1.0.1"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants