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

Change filterWithPrevious example list in Scaladoc #2735

Merged
merged 1 commit into from
Dec 2, 2021

Conversation

valencik
Copy link
Member

@valencik valencik commented Dec 1, 2021

This PR tweaks the documentation example for filterWithPrevious to hopefully better highlight that the previous value is the last emitted value.

The prior example would have returned a similar answer even if the behaviour was to compare one element with its previous element in the original input Stream.

Co-authored-by: @samspills

Co-authored-by: Sam Pillsworth <sam@blerf.ca>
@mpilquist mpilquist merged commit 1997a5d into typelevel:main Dec 2, 2021
@mpilquist
Copy link
Member

Thanks!

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

Successfully merging this pull request may close these issues.

2 participants