20b2256e563375e2fd98d1eb95fbd035c978830a
[ghc-hetmet.git] / ghc / compiler / tests / stranal / fact.lhs
1 > module Test where
2 > fact :: Int -> Int
3 > fact n = if n==0 then 2 else (fact n) * n