view tests/pathcheck.ur @ 1546:133c71008bef

Add prototypes for [un]urlification functions
author Adam Chlipala <adam@chlipala.net>
date Sun, 21 Aug 2011 10:55:31 -0400
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>