import { elemOf } from "https://deno.land/x/fun@v2.0.0-alpha.10/set.ts";
Given an instance of Eq create a function that uakes a ReadonlySet and returns a predicate over a value A the returns true if the value is a member of the set. This is like elem but with the set and value parameters swapped.