The Array Cast cover image

Fold and Scan

The Array Cast

CHAPTER

How the Queue Scanned Works

I'm wondering if it would be helpful if I were to describe how the queue scanned works. And how we'd say able to generate both the converge do and while forms all from the, all from the same iterator. If I were to do that you might see as a kind of side effect why it inevitably does it does the fold left to right. So let's go there. Okay. The scaniterator is a way of, there's a way of repeatedly applying a function. Let's say, let's say f is for example turn rates three arguments f on x y and zThree arguments will apply itself and keep it will apply f to the arguments and keep on applying it till it

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