summaryrefslogtreecommitdiff
path: root/testsuite/tests/profiling/should_run/T5559.hs
blob: e25a40f82adb9f5a0e8e4beacc95c5f8c6e3770d (plain)
1
2
3
4
5
6
7
8
føb :: Integer -> Integer
føb n
  | n == 0 = 0
  | n == 1 = 1
  | n >= 2 = føb (n - 1) + føb (n - 2)

main :: IO ()
main = print (føb 26)