fib 1 = 1fib 2 = 1fib n = fib (n–1) + fib (n-2) main= print(fib 5)
[1 of 1] Compiling Main ( prog.hs, prog.o ) prog.hs:3:14: lexical error at character '\8211'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!