fork download
  1. silnia::Integer-> Integer
  2. silnia n
  3. |n == 0 = 1
  4. |otherwise = n * silnia (n-1)
  5.  
  6. main= print(silnia 5)
  7.  
  8.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
compilation info
[1 of 1] Compiling Main             ( prog.hs, prog.o )

prog.hs:3:0: parse error (possibly incorrect indentation)
stdout
Standard output is empty