Ios swift – Swift – Missing function argument does not fail during compilation and even result in a different data types?
I was just experimenting with some Swift code samples and by making a mistake I've found our very weird behaviour (to me) that I don't understand. I've defined this function: func makeIncrementer(number: Int) -> ((Int) -> Int) { func incrementer(inputNumber:…