JuliaFolds / Transducers.jl

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

Adjoin identity for Scan #370

Closed tkf closed 4 years ago

tkf commented 4 years ago

Without adjoin the identity, it's not possible to start Scan with a custom reducing function. So, when the user doesn't specify init, let's assume that it's OK to automatically adjoin identity.

codecov[bot] commented 4 years ago

Codecov Report

Merging #370 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #370   +/-   ##
=======================================
  Coverage   90.61%   90.61%           
=======================================
  Files          26       26           
  Lines        1534     1534           
=======================================
  Hits         1390     1390           
  Misses        144      144           
Impacted Files Coverage Δ
src/library.jl 93.09% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a444222...c37f2e3. Read the comment docs.