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

Batch should return an IEnumerable<IList<T>> #98

Open
GoogleCodeExporter opened this issue Dec 3, 2015 · 2 comments
Open

Batch should return an IEnumerable<IList<T>> #98

GoogleCodeExporter opened this issue Dec 3, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Since batches are about splitting an IEnumerable into fixed sizes, every batch 
should know how many items it has, in addition to the original order of the 
source enumerable. Size + order preservation = IList.

This should break little (if any) existing code, because IList inherits 
IEnumerable. Asides from the signature, the only code change that needs to be 
made is for the underlying bucket store to be a List instead of an Array (which 
is the more LINQy approach anyways).

Original issue reported on code.google.com by a...@milyli.com on 9 Mar 2015 at 2:19

@GoogleCodeExporter
Copy link
Author

Or at least IReadOnlyCollection.

Original comment by a...@milyli.com on 27 May 2015 at 1:54

@GoogleCodeExporter
Copy link
Author

This issue has been migrated to:
https://github.com/MoreLINQ/morelinq/issues/98
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is 
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of 
any further development.

Original comment by azizatif on 21 Aug 2015 at 6:56

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

No branches or pull requests

1 participant