Mercurial > urweb
view tests/pathcheck.ur @ 1505:8c851e5508a7
Tutorial: up to First-Class Polymorphism
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 17 Jul 2011 11:00:04 -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>