fork download
  1. main = print $ (1, 2) + (2, 3)
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:1:15:
    No instance for (Num (t, t1))
      arising from a use of `+' at prog.hs:1:15-29
    Possible fix: add an instance declaration for (Num (t, t1))
    In the second argument of `($)', namely `(1, 2) + (2, 3)'
    In the expression: print $ (1, 2) + (2, 3)
    In the definition of `main': main = print $ (1, 2) + (2, 3)
stdout
Standard output is empty