December 2015
Intermediate to advanced
400 pages
13h 3m
English
Use what you have learned in this chapter to clean up the implementation of reduce(_:combine:) presented above. The implementation can be shortened quite significantly: your solution should be expressed in one line. When you are done, take a look at the sample code for the other higher-order functions and practice with them.
Read now
Unlock full access