Possible Duplicate:
Library function to compose a function with itself n times
I need a function to call another function n number of times.
so it would look something like this f n = g(g(g(g(l)))) where n equals to the number of function g nested.
how should I go about this? thanks!