--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/progs/fact.rec Thu Dec 05 10:29:35 2013 +0000
@@ -0,0 +1,8 @@
+def fact(n) = if n == 0 then 1 else n * fact(n - 1);
+
+def facT(n, acc) = if n == 0 then acc else facT(n - 1, n * acc);
+
+facT(15, 1)
+
+//fact(15)
+