aboutsummaryrefslogtreecommitdiffstats
path: root/fac.tpr
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-03-05 22:21:32 +0000
committerDavid Robillard <d@drobilla.net>2009-03-05 22:21:32 +0000
commitb6bc968944cde401be703371f75d3059cbccaae5 (patch)
tree6a50c6a250d084e70d7d1c325608be9ffc81a3c0 /fac.tpr
parent2e7b59ee140e75bb763a90ef10b1d4126822467a (diff)
downloadresp-b6bc968944cde401be703371f75d3059cbccaae5.tar.gz
resp-b6bc968944cde401be703371f75d3059cbccaae5.tar.bz2
resp-b6bc968944cde401be703371f75d3059cbccaae5.zip
Less parser specialmagic cruft.
git-svn-id: http://svn.drobilla.net/resp/tuplr@49 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'fac.tpr')
-rw-r--r--fac.tpr5
1 files changed, 3 insertions, 2 deletions
diff --git a/fac.tpr b/fac.tpr
index 076a02c..77e4776 100644
--- a/fac.tpr
+++ b/fac.tpr
@@ -1,6 +1,7 @@
; Factorial
(def fac (fn (n)
- (if (= 0 n) 1
- (* n (fac (- n 1))))))
+ (if (= 0 n) 1
+ (* n (fac (- n 1))))))
(fac 5)
+