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

Remove restriction of bsearch block output type #11212

Conversation

straight-shoota
Copy link
Member

Allows block of #bsearch to output truthy and falsey values like other similar methods do. It does no longer require to be Bool.

Resolves #11210

@straight-shoota straight-shoota added this to the 1.2.0 milestone Sep 15, 2021
@straight-shoota straight-shoota merged commit 05c42e3 into crystal-lang:master Sep 17, 2021
@straight-shoota straight-shoota deleted the feature/bsearch-output-type branch September 17, 2021 17:53
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.

Bool vs truthy in blocks in the stdlib
2 participants