1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Learn How to Define a Generalized Monoidal Fold Function

    javascriptJavaScript

    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.