Challenge: Create a Phone Number Lookup | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/5429795-reactive-programming-in-ios-with-combine/lessons/9

In the solution to this challenge, you are passing in the closure rather than calling the method in the closure with an anonymous argument, i.e.

input.map(convert) rather than input.map { convert(phoneNumberL $0 }

I believe I understand what is happening here, but Iā€™d like to understand more deeply. Can you point me to other resources around implementing an operator in this way? Thank you!