Consider sequence of tuples:
let tuples: [(Int, Int)] = [(0, 1)]
I would like to get a list of strings.
let strings: [String] = tuples.map({"\($0.0) -> \($0.1)"})
Good, right?
But what if we could treat strings with format as functions?
let string = "%d -> %d" // both String and (Int, Int) -> String
let function: (Int, Int) -> String = "%d -> %d"
After that I could just pass format to map function.
let strings: [String] = tuples.map("%d -> %d")
In general, this could be possible after functions as structs
feature with usage of parsing and ExpressibleByStringLiteral