fib = 0:1:zipWith (+) fib (tail fib) main = print $ fib !! 1000
Standard input is empty
43466557686937456435688527675040625802564660517371780402481729089536555417949051890403879840079255169295922593080322634775209689623239873322471161642996440906533187938298969649928516003704476137795166849228875
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!