RosettaCodeData/Task/Factorial/Panda/factorial.panda

5 lines
62 B
Plaintext

fun fac(n) type integer->integer
product{{1..n}}
1..10.fac