view tests/hog.ur @ 1381:bf58ca871c00

Detect missing 'database' directive; don't compile garbage C files
author Adam Chlipala <adam@chlipala.net>
date Thu, 06 Jan 2011 09:14:06 -0500
parents a1aa62b472cf
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>