main = return () test1 :: Int -> Stringtest1 x = do if x == 1 then "Hello"
Standard input is empty
[1 of 1] Compiling Main ( prog.hs, prog.o ) prog.hs:6:21: error: parse error (possibly incorrect indentation or mismatched brackets)
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!