scanLeft and scanRight, a Scala language concept
Last updated
Scala's `scan` functions enable you to do folds like foldLeft and foldRight, while collecting the intermediate results
There's more!
To see the rest of the Scala concept, and all our other concepts for free, Register (free).