The Array Cast cover image

Fold and Other Functional Conjunctions

The Array Cast

CHAPTER

The Problem With Scanning

In scan the final result is the entire accumulated state after each move so what I'm going to have at the end it may be that I I decide that what my result is going to be. My intermediate state will be the board whose move it is and then what I really want which is how many pieces there are. It might turn out to be a problem to keep a copy of that intermediate state for each iteration of the argument particularly if you don't care about it at the very end of the day.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner