silnia::Integer-> Integersilnia x = if x==0 then 1 else x*silnia(x-1)
[1 of 1] Compiling Main ( prog.hs, prog.o ) prog.hs:1:0: The function `main' is not defined in module `Main'
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!