fork download
  1. main = [1..]
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:0:
    Couldn't match expected type `IO a' against inferred type `[t]'
    In the first argument of `GHC.TopHandler.runMainIO', namely `main'
    When checking the type of the function `main'
stdout
Standard output is empty