In this module there’re implementations & tests of general functional programming features.
Implementations of ECMASript-like reduce()
ECMASript
reduce
Compose two functions into one. Return f(g(x))
f(g(x))