main = -- your code goes here let add = \x y -> x + y print $ add 2 3
Standard input is empty
[1 of 1] Compiling Main ( prog.hs, prog.o ) prog.hs:3:5: error: parse error on input ‘print’
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!