diff options
author | Adam Chlipala <adam@chlipala.net> | 2010-10-14 11:06:26 -0400 |
---|---|---|
committer | Adam Chlipala <adam@chlipala.net> | 2010-10-14 11:06:26 -0400 |
commit | 7bf0a0124a6c8a834983a660af53d8789ac0a8ac (patch) | |
tree | 628ead017a0f1cf2138f9f9b08088debf81e1ce5 /tests/hog.ur | |
parent | 4e608544ebe87dd991d53ded5267f14f5df93b8b (diff) |
Interface for setting memory limits
Diffstat (limited to 'tests/hog.ur')
-rw-r--r-- | tests/hog.ur | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/hog.ur b/tests/hog.ur new file mode 100644 index 00000000..419d202d --- /dev/null +++ b/tests/hog.ur @@ -0,0 +1,7 @@ +fun more n = + if n <= 0 then + "!" + else + more (n-1) ^ more (n-1) + +fun main n = return <xml>{[more n]}</xml> |