Subfactorial FIXED by test

main=mapM_ print$scanl f 1 [1..50]\x0d
f n x=n*x+(-1)^x\x0d

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page