In this video we define monoids and promote our semigroups
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