suma a b = a + b main = do print( foldl suma 0 [11, 22, 44, 88] )
Standard input is empty
165
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!