From cfffcb997d0345f90444725248c7c85b035c30b4 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 +++++++++ tests/thog.urp | 2 ++ tests/thog.urs | 1 + 3 files changed, 12 insertions(+) create mode 100644 tests/thog.ur create mode 100644 tests/thog.urp create mode 100644 tests/thog.urs (limited to 'tests') 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)]} diff --git a/tests/thog.urp b/tests/thog.urp new file mode 100644 index 00000000..e9e7e469 --- /dev/null +++ b/tests/thog.urp @@ -0,0 +1,2 @@ +$/list +thog diff --git a/tests/thog.urs b/tests/thog.urs new file mode 100644 index 00000000..38b757ea --- /dev/null +++ b/tests/thog.urs @@ -0,0 +1 @@ +val main : int -> transaction page -- cgit v1.2.3