foreach(f, xs)
map(f, xs)
filter(f, xs)
reduce(f, v0, xs)
foldl(f, v0, xs)
foldr(f, v0, xs)
Functions can be accepted as parameters and can also be produced as return types. Indeed, functions can be created inside the body of other functions. These inner functions are known as closures...