Expose deleted-signal with docs correction
#13
Merged
zyrolasting
merged 4 commits from fix/deleted-signal
into master
5 years ago
Loading…
Reference in New Issue
There is no content yet.
Delete Branch 'fix/deleted-signal'
Deleting a branch is permanent. It CANNOT be undone. Continue?
@mbutterick The docs say that
(λ (x) null)
is the defaultreplace-proc
forsplitf-txexpr
.This disagrees with the code, which uses
deleted-signal
. Since there is a use case for conditionally removing elements, I put in a(provide deleted-signal)
and corrected the docs.I don't know if I can speak to the CI build error:
I see what you mean. The docs are wrong, at least. But IIRC
deleted-signal
is meant only for internal housekeeping, so adding it to the public interface is probably not quite the right fix.Intuitively it seems like the default value for
replace-proc
should be#false
— I can’t remember why I didn’t do it that way before, but I’ll look into it.Ok. For convenience I went ahead and set
deleted-signal
to#f
in the code and docs and reverted the interface change.raco test test/tests.rkt
still passes if that helps.@mbutterick keep-alive ping + update.
git bisect
namesdfe91a390d
asgensym
's origin. I was hoping to find enough context to write test cases for this PR. So far the only corner case I see is thatsplitf-txexpr
breaks its own contract when it tries to replace the entire element provided to it, but that is existing behavior that reproduces regardless ofdeleted-signal
's value.So, two questions:
#f
(Assuming the CI build error is not in scope)?Thanks for the reminder. Let me look at this in the next couple days and I will finish it off or present further questions.
Thanks, let’s see what happens 🤘
a4d36b963f
.Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.