x = 10 y = 10
Standard input is empty
[1 of 1] Compiling Main ( prog.hs, prog.o )
prog.hs:4:26:
No instance for (Num String)
arising from a use of `+' at prog.hs:4:26-30
Possible fix: add an instance declaration for (Num String)
In the second argument of `($)', namely `(x + y)'
In the second argument of `($)', namely `read $ (x + y)'
In the expression: putStrLn $ read $ (x + y)
Standard output is empty