Composing several functions using a compose utility
I am supposed to create a function that takes some functions as arguments, and returns a composition of those arguments in the following way: Given functions fnN, fn(N-1), …, fn1, and a value v, the function should return the result of compose(fnN, fnN-1, …, fn1)(v) = fnN(fnN-1(…(fn1(v)))); I would be grateful if someone can help… Read More Composing several functions using a compose utility