AI-powered
podcast player
Listen to all your favourite podcasts with AI-powered features
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.