Talk:F Sharp Programming/Recursion

Why is the first version of slowMultiply not tail recursive? Samal84 (discuss • contribs) 11:44, 11 February 2012 (UTC)


 * I did some reading up and added an explanation myself. Samal84 (discuss • contribs) 12:25, 11 February 2012 (UTC)

Why does everyone implement factorial functions in a way that allows the caller to provide invalid input? The function given on this page will return one for all negative numbers which is wrong because factorial is undefined for negative numbers, at least if using the obvious definition of factorial. kwhitefoot (discuss • contribs) 11:05, 21 November 2016 (UTC)