The Array Cast cover image

Fold and Other Functional Conjunctions

The Array Cast

00:00

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.

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