view tests/hog.ur @ 1432:7d024767b024

Cope with DOS-format line breaks in source code
author Adam Chlipala <adam@chlipala.net>
date Thu, 10 Mar 2011 19:26:35 -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>