comparison 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
comparison
equal deleted inserted replaced
581:e955d50c389d 582:66463006f893
1 fun main () : transaction page =
2 sInt <- source 0;
3 return <xml><body>
4 <dyn signal={n <- signal sInt; return <xml>{[n]}</xml>}/> <a onclick={set sInt 1}>Change</a><br/>
5 </body></xml>