Big from many small functions
So for the past several weeks, we’ve been working on toy problems to hone our skills with finding solutions with higher order functions. A recent one was to create a compose function that would chain together several functions to create a composite function. Some big applications can be created with many, smaller functions. Each function is called with the return value of the function to it’s right. Essentially the compose() func moves right to left through its arguments.

A fun example to illustrate compose() is below.

/A