summaryrefslogtreecommitdiff
path: root/tests/hog.ur
blob: cd666cbeaf3e4f5e3bc2ff5c509bda8db06b2f1b (plain)
1
2
3
4
5
6
7
8
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>