JuliaLang / Compat.jl

Compatibility across Julia versions
Other
145 stars 117 forks source link

`allequal(f, itr)` and `allunique(f, itr)` #818

Closed mcabbott closed 7 months ago

mcabbott commented 7 months ago

Adds https://github.com/JuliaLang/julia/pull/47679

codecov[bot] commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9e88843) 92.37% compared to head (295af03) 92.65%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #818 +/- ## ========================================== + Coverage 92.37% 92.65% +0.28% ========================================== Files 2 2 Lines 341 354 +13 ========================================== + Hits 315 328 +13 Misses 26 26 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mcabbott commented 7 months ago

Yea maybe. I'd need another coffee to think about what happens on the Julia versions where this package stops exporting allequal but Base doesn't yet provide allequal(f, itr). If this package had never exported it, that would indeed be simpler.