Section 12 Chapter 70 - Function Application Flashcards
Higher order function
A function that takes another function as a parameter or returns a function as a result (or both)
How many parameters can a function have
only 1
How are functions that seem to have multiple parameters evaluated
New functions are created that all feed into each other. Each of these functions has one parameter and returns one value
Partial Function Application
Decomposing multi argument functions into smaller functions with one argument each that are fed into each other
Map
Applies a given function to each element of a list and returns a list of results
Filter
Processes a list to return only the elements that meet a certain criteria
Fold/Reduce
Reduces a list of values to a single value by repeatedly applying a combining function to the values in the list