ghc-mod/test/data/Info.hs

9 lines
150 B
Haskell
Raw Normal View History

2014-07-15 12:40:22 +00:00
{-# LANGUAGE TemplateHaskell #-} -- for HscInterpreted
2013-03-30 12:24:57 +00:00
module Info () where
fib :: Int -> Int
fib 0 = 0
fib 1 = 1
fib n = fib (n - 1) + fib (n - 2)