static HashSet mapToHashSet(O f, Iterable l) { HashSet x = new(l(l)); if (l != null) for (O o : l) x.add(callF(f, o)); ret x; } static HashSet lambdaMapLike mapToHashSet(IF1 f, Iterable l) { ret mapToHashSet((O) f, l); }