diff options
Diffstat (limited to 'tests/hog.ur')
-rw-r--r-- | tests/hog.ur | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/hog.ur b/tests/hog.ur new file mode 100644 index 0000000..cd666cb --- /dev/null +++ b/tests/hog.ur @@ -0,0 +1,9 @@ +fun more n = + if n <= 0 then + "!" + else + more (n-1) ^ more (n-1) + +fun main n = + debug "Let's give this a try...."; + return <xml>{[more n]}</xml> |