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

Add a suffix(while:) method #62

Closed
natecook1000 opened this issue Jan 16, 2021 · 2 comments
Closed

Add a suffix(while:) method #62

natecook1000 opened this issue Jan 16, 2021 · 2 comments
Labels
good first issue Good for newcomers

Comments

@natecook1000
Copy link
Member

The standard library includes prefix and suffix methods that take a number of elements or an index, but only a prefix method that takes a predicate. We should add a suffix(while:) method to match prefix(while:) for bidirectional collections.

@natecook1000 natecook1000 added the good first issue Good for newcomers label Jan 16, 2021
@michiboo
Copy link
Contributor

Hi I would like to take this issue! where should I add suffix(while:) methods?

@kylemacomber
Copy link
Contributor

kylemacomber commented Jan 19, 2021

Please open a PR against this repo. It probably makes sense to add a new file, say Sources/Algorithms/Suffix.swift, and add your implementation there.

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

No branches or pull requests

3 participants