ghc-mod/test/data/Info.hs
2014-07-15 21:40:22 +09:00

9 lines
150 B
Haskell

{-# LANGUAGE TemplateHaskell #-} -- for HscInterpreted
module Info () where
fib :: Int -> Int
fib 0 = 0
fib 1 = 1
fib n = fib (n - 1) + fib (n - 2)