From 27bc339691e507e568c4ef10353dfeafe41b4a40 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Thu, 14 Oct 2010 11:35:56 -0400 Subject: -limit for running time --- tests/thog.ur | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/thog.ur (limited to 'tests/thog.ur') diff --git a/tests/thog.ur b/tests/thog.ur new file mode 100644 index 00000000..29e335fc --- /dev/null +++ b/tests/thog.ur @@ -0,0 +1,9 @@ +fun ack (m, n) = + if m = 0 then + n + 1 + else if n = 0 then + ack (m - 1, 1) + else + ack (m - 1, ack (m, n - 1)) + +fun main n = return {[ack (n, 4)]} -- cgit v1.2.3