3 ms·
On the expressiveness and universality of fold
- dozzie 12y ago> There’s also a right fold, foldr, which does the same, but right-to-left. No. There's also a left fold, foldl, which does the same, but left-to-right. The fold definition in the article is foldr.