export default function* (a: Iterable, b: Iterable) { const bUniq = new Set(b); for (const aVal of a) { if (!bUniq.has(aVal)) { yield aVal; } } }