import { filterMap } from "https://deno.land/x/fun@v2.0.0/record.ts";
Given a function over the values in a ReadonlyArray returning an Option, return a function thatsimultaneously filters and maps over the values in a ReadonlyRecord.
Returns
(ua: ReadonlyRecord<A>) => ReadonlyRecord<I>