Skip to content

Conversation

@JackStouffer
Copy link
Contributor

No description provided.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @JackStouffer!

Bugzilla references

Your 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 locally

If 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
Copy link
Contributor Author

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

@JackStouffer JackStouffer force-pushed the functional-docs branch 2 times, most recently from dbbb8f4 to a05ab20 Compare April 16, 2018 00:14
@JackStouffer
Copy link
Contributor Author

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.
Copy link
Member

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".

@JackStouffer
Copy link
Contributor Author

@n8sh Fixed

@JackStouffer
Copy link
Contributor Author

Ping

Copy link
Member

@PetarKirov PetarKirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good work!

@dlang-bot dlang-bot merged commit 4b26eb2 into dlang:master Apr 25, 2018
@JackStouffer JackStouffer deleted the functional-docs branch April 25, 2018 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants