extension Array { public subscript(_ f: (Int, Int) -> ClosedRange<Int>) -> ArraySlice<Element> { return self[startIndex..<endIndex] } }
let ns = [2, 3, 5] ns[...] // [2, 3, 5]