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

Redundant Iterable Extensions #7

Open
awhitford opened this issue May 10, 2020 · 1 comment
Open

Redundant Iterable Extensions #7

awhitford opened this issue May 10, 2020 · 1 comment

Comments

@awhitford
Copy link

The Iterable Extensions are filled with functions that basically already exist:

dart_extensions dart:core
Iterable.any Iterable.any
Iterable.drop Iterable.skip
Iterable.filter Iterable.where
Iterable.find Iterable.firstWhere
Iterable.takeOnly Iterable.take
Iterable.concatWithSingleList Iterable.followedBy

Why not mark them as @deprecated and steer folks to use the dart:core functions? (You can also re-implement them to call the dart:core counterpart.)

@WilliamCunhaCardoso
Copy link

Can you open a PR adding deprecated nottation?

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

No branches or pull requests

2 participants