JuliaFolds / Transducers.jl

Efficient transducers for Julia
https://juliafolds.github.io/Transducers.jl/dev/
MIT License
433 stars 24 forks source link

Better example of GetIndex #547

Closed MasonProtter closed 1 year ago

MasonProtter commented 1 year ago

I think the old example didn't really make it clear which array was being indexed into, and which one was the source of indices. This example makes that more clear.

codecov[bot] commented 1 year ago

Codecov Report

Merging #547 (edf05b7) into master (142abcb) will decrease coverage by 0.58%. The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #547      +/-   ##
==========================================
- Coverage   95.43%   94.84%   -0.59%     
==========================================
  Files          32       32              
  Lines        2233     2231       -2     
==========================================
- Hits         2131     2116      -15     
- Misses        102      115      +13     
Flag Coverage Δ
Pkg.test 94.46% <ø> (-0.09%) :arrow_down:
Run.test 94.71% <ø> (-0.50%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/library.jl 98.70% <ø> (+0.25%) :arrow_up:
src/basics.jl 88.88% <0.00%> (-5.56%) :arrow_down:
src/partitionby.jl 90.90% <0.00%> (-3.90%) :arrow_down:
src/nondeterministic_threading.jl 88.77% <0.00%> (-2.05%) :arrow_down:
src/reduce.jl 94.59% <0.00%> (-1.84%) :arrow_down:
src/progress.jl 91.58% <0.00%> (-0.94%) :arrow_down:
src/core.jl 92.12% <0.00%> (-0.93%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.