fork download
  1. fib :: Int -> Int
  2. fib 1 = 1
  3. fib x = x * fib (x - 1)
  4. main = println $ show $ fib 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:4:7: Not in scope: `println'
stdout
Standard output is empty