List<dynamic> modify<T>(int index, dynamic Function(T) modifier) { this[index] = modifier(this[index]); return this; }