Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 841f1c17f6
Fetching contributors…

Cannot retrieve contributors at this time

10 lines (6 sloc) 0.17 kb
include "Prelude.e"
main () -> Unit = printBig(fact(120L))
fact (x:BigInt) -> BigInt =
if (eqBig(x,0L))
then 1L
else mulBig(x,fact(subBig(x,1L)))
Jump to Line
Something went wrong with that request. Please try again.