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

More Cases Heads option handling #1350

Merged
merged 2 commits into from
May 3, 2021
Merged

More Cases Heads option handling #1350

merged 2 commits into from
May 3, 2021

Conversation

rocky
Copy link
Member

@rocky rocky commented May 3, 2021

And run black over the file.
Fixes #1302

And run black over the file.
Fixes #1302
@rocky rocky requested a review from mmatera May 3, 2021 09:57
@rocky rocky changed the title Remove TODO, unused remnants and tidy More Cases Heads option handling May 3, 2021
Not the most elegant, but it is a start...
@rocky rocky force-pushed the Cases-Heads-option branch from efd39ff to dd57b1e Compare May 3, 2021 11:29
Copy link
Contributor

@mmatera mmatera left a comment

Choose a reason for hiding this comment

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

LGTM

@rocky rocky merged commit 9794c37 into master May 3, 2021
@rocky rocky deleted the Cases-Heads-option branch May 3, 2021 12:22
<dt>'Cases[$list$, $pattern$, $ls$]'
<dd>returns the elements matching at levelspec $ls$.

<dt>'Cases[$list$, $pattern$, Head->$bool$]'
Copy link

Choose a reason for hiding this comment

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

typo: Heads

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks @axkr ! Should be fixed in 834c781

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cases doesn't support Heads->True option
3 participants