view tests/pathcheck.ur @ 829:20fe00fd81da

Substring functions; fix a nasty MonoReduce pattern match substitution bug
author Adam Chlipala <adamc@hcoop.net>
date Sat, 30 May 2009 13:29:00 -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>