Mercurial > urweb
view tests/pathcheck.ur @ 1001:1d456a06ea4e
Add tuple pattern-matching at the constructor level
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 20 Oct 2009 10:19: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>