view tests/hog.ur @ 1328:c5799b1e4c58

Update manual to track uw_register_transactional() change
author Adam Chlipala <adam@chlipala.net>
date Sat, 04 Dec 2010 11:18:19 -0500
parents d2ad997ca157
children a1aa62b472cf
line wrap: on
line source
fun more n =
    if n <= 0 then
        "!"
    else
        more (n-1) ^ more (n-1)

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