http://lomeo.livejournal.com/ ([identity profile] lomeo.livejournal.com) wrote in [personal profile] lomeo 2007-04-10 03:23 pm (UTC)

Знаю что не так. Баловался с нерекурсивным определением. Ты же сказал, что рекурсия, тем более хвостовая сосёт ;-)

В частности вот:

fixedFac f 0 = 1
fixedFac f n = n * f (n - 1)

fac = myFix fixedFac


Это хотел.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting