What is Nostr?
tranny demon hacker /
npub132p…wsev
2024-06-22 20:02:54
in reply to nevent1q…u7e2

tranny demon hacker on Nostr: in the factorial example, you have to have in mind the canonical definition of ...

in the factorial example, you have to have in mind the canonical definition of factorial right out of the box

you have to know that "right" answer is

fac n = if n == 1 then 1 else n * fac (n - 1)
Author Public Key
npub132p3v5et2ujg4jpdklvxdge2qlvlzjgqatar7lpmfarx9syl0x5skgwsev