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
groupedWithin emits empty groups #1404
Comments
I am currently looking into this. |
Nice, this specific issue should be in the algorithmic (non concurrent) part of the code so hopefully not too bad |
One thing I was wondering, when the |
Mostly because |
Fix groupWithin to not emit empty groups, resolves #1404
Hi
I use fs2 version
1.0.2
and thegroupedWithin
function seems not to behave as documented.The documentation says that empty groups will not be emitted. But when
numberOfElements % n == 0
then the last group is still empty.Reproducer:
Is this a bug or is the documentation miss-leading?
The text was updated successfully, but these errors were encountered: