import { set } from "https://deno.land/x/fun@v2.0.0-alpha.12/mod.ts";
const { filterMap } = set;
Given a function A -> Option and a ReadonlySet return a ReadonlySet by applying the function to all values A. Any Nones will not enter the resultant set while Some values will. This is effectively filtering and mapping simultaneously.