static List<R> Function(Iterable<T>) map<T, R>( R Function(T) mapper, ) { return (Iterable<T> items) { return items.map(mapper).toList(); }; }