1 2 3
main = do n <- getLine putStrLn n = n + 1
1 2
Error occurred ERROR line 3 - Syntax error in input (unexpected `=')