view tests/hog.ur @ 1311:5337adf33a4a

Smarter handling of unification variables for 'kindof' on projections
author Adam Chlipala <adam@chlipala.net>
date Tue, 19 Oct 2010 10:13:24 -0400
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>