mysum = foldl (+) 0 x = mysum [1..100000]main = print (x + x)
Standard input is empty
10000100000
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!