Mercurial > urweb
view demo/link.ur @ 1262:003df929ee08
Switch to strings and eval for thunkifying JavaScripted functions
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Sat, 22 May 2010 16:29:54 -0400 |
parents | 6a0e54400805 |
children |
line wrap: on
line source
fun target () = return <xml><body> Welcome! </body></xml> fun main () = return <xml><body> <a link={target ()}>Go there</a> </body></xml>