From 55b6a3f313670d2cb13847d1f1b04fe3e4b21d63 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 8 Apr 2010 20:09:16 +0000 Subject: Tuplr -> Resp (RESource Processing). git-svn-id: http://svn.drobilla.net/resp/resp@252 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- test/fac.resp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/fac.resp (limited to 'test/fac.resp') diff --git a/test/fac.resp b/test/fac.resp new file mode 100644 index 0000000..0fb687c --- /dev/null +++ b/test/fac.resp @@ -0,0 +1,7 @@ +; Factorial +(def (fac n) + (if (= 0 n) 1 + (* n (fac (- n 1))))) + +(fac 6) + -- cgit v1.2.1