2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode