From fdc794f5dc9de5b55fff71939ee4374ea38efa8f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 30 Mar 2009 18:47:32 +0000 Subject: Compile things into separate build dir. Move .tpr files to test dir. git-svn-id: http://svn.drobilla.net/resp/tuplr@109 ad02d1e2-f140-0410-9f75-f8b11f17cedd --- test/fac.tpr | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 test/fac.tpr (limited to 'test/fac.tpr') diff --git a/test/fac.tpr b/test/fac.tpr new file mode 100644 index 0000000..77e4776 --- /dev/null +++ b/test/fac.tpr @@ -0,0 +1,7 @@ +; Factorial +(def fac (fn (n) + (if (= 0 n) 1 + (* n (fac (- n 1)))))) + +(fac 5) + -- cgit v1.2.1