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

Iterators.cycle(iter, n) #819

Merged
merged 6 commits into from
Feb 16, 2024
Merged

Iterators.cycle(iter, n) #819

merged 6 commits into from
Feb 16, 2024

Conversation

mcabbott
Copy link
Contributor

src/Compat.jl Outdated Show resolved Hide resolved
Co-authored-by: Martin Holters <[email protected]>
test/runtests.jl Outdated Show resolved Hide resolved
test/runtests.jl Outdated Show resolved Hide resolved
Copy link

codecov bot commented Feb 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a62d959) 92.35% compared to head (fba789a) 92.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #819      +/-   ##
==========================================
+ Coverage   92.35%   92.37%   +0.02%     
==========================================
  Files           2        2              
  Lines         340      341       +1     
==========================================
+ Hits          314      315       +1     
  Misses         26       26              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

README.md Outdated
@@ -70,6 +70,8 @@ changes in `julia`.

## Supported features

* `Iterators.cycle(itr, n)` is the lazy version of `repeat(vector, n)`. ([#47354]) (since Compat 4.12.0)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* `Iterators.cycle(itr, n)` is the lazy version of `repeat(vector, n)`. ([#47354]) (since Compat 4.12.0)
* `Iterators.cycle(itr, n)` is the lazy version of `repeat(vector, n)`. ([#47354]) (since Compat 4.13.0)

Wrong number!

Perhaps this and #818 can be one release.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW I don't have merge rights here. This may need a rebase after #818 is in, before tagging.

@mcabbott mcabbott marked this pull request as ready for review February 14, 2024 14:55
Copy link
Member

@martinholters martinholters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@martinholters martinholters merged commit 9e88843 into JuliaLang:master Feb 16, 2024
20 checks passed
@mcabbott mcabbott deleted the cycle3 branch February 19, 2024 13:25
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