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