Mercurial > urweb
view tests/pathcheck.ur @ 541:2bf2d0e0fb61
Type inference
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 06 Dec 2008 12:01:12 -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>