refactoring recursion - folds
Channel: Harold Carr
Date: 01/05/2016

use folds instead of explicit recursion (1st part of presentation on recursion; 2nd part https://youtu.be/wqoYYfbo8C4)