[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / stranal / should_compile / fact.lhs
1 > module Test where
2 > fact :: Int -> Int
3 > fact n = if n==0 then 2 else (fact n) * n