Smatchcube's website 🌍


Exercise 2.20

I use the idea of higher-order procedures from the end of Chapter 1 similarly to the filtered-accumulate procedure.