Extensions to the dict API, which utilise typeclasses.
O(n). Map each entry of dict to a type which has an instance of Monoid, and combine the results.
Monoid
O(n). Map each entry of dict to a type which has an instance of
Monoid, and combine the results.