view tests/hog.ur @ 1334:a1aa62b472cf

Change Basis.debug to use the protocol's debug function
author Adam Chlipala <adam@chlipala.net>
date Sun, 12 Dec 2010 10:35:04 -0500
parents d2ad997ca157
children
line wrap: on
line source
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>