fork download
  1. module Main where
  2.  
  3. main = let a = [x | x <- [1..1000], x `mod` 3 == 0, x `mod` 5 == 0]
  4. in sum a
  5. do
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:5:1: parse error on input `do'
stdout
Standard output is empty