fib 1 = 1fib 2 = 1fib n = fib (n - 1) + fib (n - 2) main = print (fib(40))
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!