Cats Core · Part 3
Cats Core, Part 3: From Empty Batches to Checkout Totals
I knew how to combine two error reports. Monoid gives an empty batch a useful result, and foldMap takes the same idea to a shopping cart: turn each line into a contribution, then combine the totals.