diff options
Diffstat (limited to 'testsuite/tests/arityanal/f0.hs')
-rw-r--r-- | testsuite/tests/arityanal/f0.hs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/testsuite/tests/arityanal/f0.hs b/testsuite/tests/arityanal/f0.hs index f2b7794b99..2499aa6f2c 100644 --- a/testsuite/tests/arityanal/f0.hs +++ b/testsuite/tests/arityanal/f0.hs @@ -1,6 +1,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
\ No newline at end of file +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 |