Closed exoego closed 5 years ago
Add a description to reduce regarding empty case as same as so in reduceLeft & reduceRight, so that reader can know what happens if reduce is invoked on empty collection.
reduce
reduceLeft
reduceRight
reduceOption already has a description.
reduceOption
https://travis-ci.org/superruzafa/visual-scala-reference/builds/554449821#L3280 I think this CI error is false, since this PR does not touch startsWith.2.tex. Could you trigger rerun?
startsWith.2.tex
Looks good.
Add a description to
reduce
regarding empty case as same as so inreduceLeft
&reduceRight
, so that reader can know what happens ifreduce
is invoked on empty collection.reduceOption
already has a description.