import { collapse } from "https://deno.land/x/fun@v2.0.0-alpha.6/record.ts";
Collect all values in a ReadonlyRecord into a single value I by using a Monoid.This is effectively reduce using a Monoid for the initial value and combination.
Returns
(ua: ReadonlyRecord<A>) => A