Call a Function to Infinity

added by KodefuGuru
7/26/2010 10:54:54 AM


What if the resulting value of a function was used to feed the parameter of the same function? It’s easy enough to call a function, get its result, then pass it back in. However, I wanted to abstract this and make it work for anything whose generic parameter type is the same as the generic result type. If it’s abstracted, there must be some arbitrary end point… right? How about infinity?