export function filterGen<T> (iter: Iterable<T>, func: IndexedPredicate<T>): Iterable<T>