-
-
Notifications
You must be signed in to change notification settings - Fork 397
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
Function: AcceptIf #198
Function: AcceptIf #198
Conversation
@duke-git Please review |
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## rc #198 +/- ##
==========================================
+ Coverage 79.97% 79.99% +0.02%
==========================================
Files 65 65
Lines 7494 7504 +10
==========================================
+ Hits 5993 6003 +10
Misses 1135 1135
Partials 366 366 ☔ View full report in Codecov by Sentry. |
9133a3a
to
a9d43b5
Compare
AcceptIf returns another function of the same signature as the apply function but also includes a bool value to indicate success or failure. A predicate function that takes an argument of type T and returns a bool. An apply function that also takes an argument of type T and returns a modified value of the same type.
a9d43b5
to
7f6ecad
Compare
@donutloop,since we have added so many features to lancet recently, I plan to release v2.3.0 tomorrow (5th, March). Do you think there are still features that haven’t been merged yet? |
@duke-git Before releasing it, we should include the missing parts of the document. I haven't added descriptions for all new changes yet. |
@donutloop Sure. I updated all the documentation I could find. But it may not be complete. The latest branch is rc. After you add descriptions for all new changes, Then we can release v2.3.0 |
@donutloop, I have updated the documentation. Will release v2.3.0. If some documentation is missing, we can add it after release. |
AcceptIf returns another function of the same signature as the apply function but also includes a bool value to indicate success or failure.
A predicate function that takes an argument of type T and returns a bool.
An apply function that also takes an argument of type T and returns a modified value of the same type.