2min chapter

The Array Cast cover image

Fold and Other Functional Conjunctions

The Array Cast

CHAPTER

The Power Conjunction in Functional Programming

The power conjunction is an example of another one of these programming patterns it was discovered and. scan well yeah there's a whole list of them you know they're in the beginning there was reduced and scan and I don't know what order later on these were discovered but the power consumption allows you to do things like apply the verb you and times very elegant but extremely important. If N is zero you've applied the verb no times so you that's the false branch of the F if N is one you apply the verb one time in other words you did it the F is true and if N is infinite that means apply the verb forever.

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