summaryrefslogtreecommitdiff
path: root/testsuite/tests/arityanal/should_compile/Arity14.hs
blob: 1f2c19ed92e9468a91d3604e8100b54f0b2c5b61 (plain)
1
2
3
4
5
module F14 where

f14 n x = if x<n then let v = f14 n (x+1)
                      in \y -> v (x+y)
               else \y -> y