Diff: [root] @ 960b850c9a7 | faq | css

niceness

File: haskell-vs-fortran [Diff]

-- a/haskell-vs-fortran++ b/haskell-vs-fortran
@@ -56,7 +56,7 @@
And now, factorial in haskell! (Not to hurt fortranners' feelings, a straightforward version. It may be even better)

bc. fac n
| n == 1 = 1
| otherwise = fac (n - 1) * n

Which one does look more like formula?

By Voker57 on 2010-02-18 09:14:49 +0000