1. 8
    Ensure failsafe combination using monoids
    4m 33s

Ensure failsafe combination using monoids

InstructorBrian Lonsdorf

Share this video with your friends

Send Tweet

In this video we define monoids and promote our semigroups

Jason Gretz
~ 6 years ago

Should the example for all use conjunction? Similar to the concat method on the All semigroup.

const all = xs =>
    xs.reduce((acc, x) => acc && x, true)

otherwise, all([true, false, true]) // yields 3