addFive :: Int -> IntaddFive x = x + 5 main :: IO ()main = do print (addFive (read "11")) putStrLn (read "11")
Standard input is empty
16
prog: Prelude.read: no parse
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!