Returns a reversed shallow copy of input list
List<T> reverse<T>(List<T> x) => List<T>.from(x.reversed);