-
-
Notifications
You must be signed in to change notification settings - Fork 746
Added Params and Returns to std.functional #6454
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
Conversation
|
Thanks for your pull request, @JackStouffer! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. Testing this PR locallyIf you don't have a local development environment setup, you can use Digger to test this PR: dub fetch digger
dub run digger -- build "master + phobos#6454" |
| static int foo(ref int n) { return 2; } | ||
| } | ||
|
|
||
| // with forward |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also made this example clearer
dbbb8f4 to
a05ab20
Compare
|
Same doc failure as other PRs |
std/functional.d
Outdated
| Params: | ||
| pred = A string or a callable | ||
| Returns: | ||
| A function which calls `pred` and returns its value negated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Although a predicate by definition is a function x => bool, it might be better to say "the logical negation of its value" instead of "its value negated".
a05ab20 to
626cabc
Compare
|
@n8sh Fixed |
|
Ping |
PetarKirov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
No description provided.