view tests/pathcheck.ur @ 1045:36efaf119b85

Refactor compile functions; allow empty tag contents
author Adam Chlipala <adamc@hcoop.net>
date Wed, 25 Nov 2009 08:52:32 -0500
parents 78358e5df273
children
line wrap: on
line source
fun ancillary () : transaction page = return <xml/>

fun ancillary () = return <xml>
        Welcome to the ancillary page!
</xml>

fun main () : transaction page = return <xml><body>
        <a link={ancillary ()}>Enter the unknown!</a>
</body></xml>