Learn How to Define a Generalized Monoidal Fold Function

Share this video with your friends

Send Tweet

This lesson continues on the topic of monoids by teaching viewers how to create a generic fold function that consumes a monoid as well as an array which that monoid will perform a reduction on.

By the end of the lesson, you'll have created a helpful utility function for creating other specialized functions that are enclosed with a particular monoid.