annotate 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
rev   line source
adamc@582 1 fun main () : transaction page =
adamc@582 2 sInt <- source 0;
adamc@582 3 return <xml><body>
adamc@582 4 <dyn signal={n <- signal sInt; return <xml>{[n]}</xml>}/> <a onclick={set sInt 1}>Change</a><br/>
adamc@582 5 </body></xml>