in reply to multiple consumer of an array
The whole book, or almost, is about composing functions the way you want, but Chapter 4 about Iterators is probably the most relevant to what you are doing (except that you probably need to read at least in part the preceding chapters to fully understand chapter 4).
|
|---|