JuliaCollections / IterTools.jl

Common functional iterator patterns
Other
152 stars 28 forks source link

Organize trait and method definitions consistenly #74

Closed goretkin closed 4 years ago

goretkin commented 4 years ago

(from commit message)

This commit just permutes lines.

For each iterator type, define in this order if applicable:

eltype
length
size
IteratorEltype
IteratorSize

Also define immediately after iterator type definition, unless there was a helper function to construct in between.

codecov-commenter commented 4 years ago

Codecov Report

Merging #74 into master will not change coverage. The diff coverage is 63.63%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #74   +/-   ##
=======================================
  Coverage   72.95%   72.95%           
=======================================
  Files           1        1           
  Lines         281      281           
=======================================
  Hits          205      205           
  Misses         76       76           
Impacted Files Coverage Δ
src/IterTools.jl 72.95% <63.63%> (ø)

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 c31c15b...60cae7f. Read the comment docs.