Mercurial > urweb
view tests/stypes.ur @ 582:66463006f893
Source containing an int
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Thu, 01 Jan 2009 10:08:22 -0500 |
parents | |
children | 1fd4c041634e |
line wrap: on
line source
fun main () : transaction page = sInt <- source 0; return <xml><body> <dyn signal={n <- signal sInt; return <xml>{[n]}</xml>}/> <a onclick={set sInt 1}>Change</a><br/> </body></xml>