List<T> where<T>(List<T> list, bool Function(T item) test) => [ for (var item in list) if (test(item)) item ];