summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/should_compile/Arity00.hs
blob: 2499aa6f2ca3589513cea9979603b41fdfb4f99b (plain)
1
2
3
4
5
6
module F0 where

f0 :: Int -> Int -> Int -> Int
f0 x y = if (x>0) then let v = x + y
                       in \z -> v+z
                  else \z-> 1