Filter, Map, and Reduce

Thomas Mailund · Apress eBooks · 2023

The last chapter covered some pieces of functional programming that can be hard to wrap your head around, but this chapter will be much simpler. We will look at three general methods used in functional programming instead of loops and instead of explicitly writing recursive functions. They are really three different patterns for computing on sequences, and they come in different flavors with different functions, but just these three let you do almost anything you would otherwise do with loops.

Read the paper · More papers on PaperTik