summaryrefslogtreecommitdiff
path: root/tests/hog.ur
blob: 419d202d99bbfd1dcd21f447e1d03b3a8a53b13b (plain)
1
2
3
4
5
6
7
fun more n =
    if n <= 0 then
        "!"
    else
        more (n-1) ^ more (n-1)

fun main n = return <xml>{[more n]}</xml>