static List<T> Function(Iterable<T>) filter<T>(bool Function(T) predicate) { return (Iterable<T> items) { return items.where(predicate).toList(); }; }