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/ack.tpr | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/ack.tpr (limited to 'test/ack.tpr') diff --git a/test/ack.tpr b/test/ack.tpr new file mode 100644 index 0000000..1fe38d5 --- /dev/null +++ b/test/ack.tpr @@ -0,0 +1,8 @@ +(def ack + (fn (m n) + (if (= 0 m) (+ n 1) + (= 0 n) (ack (- m 1) 1) + (ack (- m 1) (ack m (- n 1)))))) + +(ack 3 10) + -- cgit v1.2.1