make firstrest an alias for Iterators.peel#130
make firstrest an alias for Iterators.peel#130nsajko wants to merge 4 commits intoJuliaCollections:masterfrom
firstrest an alias for Iterators.peel#130Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #130 +/- ##
==========================================
- Coverage 91.28% 91.14% -0.14%
==========================================
Files 1 1
Lines 390 384 -6
==========================================
- Hits 356 350 -6
Misses 34 34 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
b1ae311 to
dc25294
Compare
|
Should |
|
The doc string of |
firstrest using Iterators.peelfirstrest using Iterators.peel
firstrest using Iterators.peelfirstrest using peel
f44202b to
4d3c1df
Compare
Sounds like a good reason to deprecate now |
|
Another option is to simply define const firstrest = Iterators.peelThe only difference in behavior would be |
|
IMO that would be a feature addition, as opposed to a breaking change. |
`Iterators.peel` is supported on all Julia versions supported by IterTools. In fact, it was already present with Julia v0.7.
firstrest using peelfirstrest an alias for Iterators.peel
Iterators.peelis supported on all Julia versions supported by IterTools. In fact, it was already present with Julia v0.7.Make
firstrestan alias forIterators.peel. This is a feature addition, makingfirstrestreturnnothinginstead of throwing for an empty iterator input.