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

Unify the iterable and iteration abilities across data structures that should be iterated #45

Open
dadepo opened this issue Apr 26, 2020 · 0 comments

Comments

@dadepo
Copy link
Member

dadepo commented Apr 26, 2020

Problem:

Currently the Data structure representing CIDR range is an iterable, while data structure representing IP numbers, although could be iterable is, currently not.

Data structure for CIDR ranges have some sort of stream-like interface for example *take(count?: number) while the data structure representing IP numbers do not, even though they could.

The *take(count?: number) was added ad-hoc fashion. The ReactiveX API has a standard API from which API's like take can be modelled after.

Solution:

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

1 participant