comparison tests/showTime.ur @ 1629:438561303d02

timeFormat .urp directive
author Adam Chlipala <adam@chlipala.net>
date Sun, 04 Dec 2011 14:40:12 -0500
parents
children
comparison
equal deleted inserted replaced
1628:3621f486ce72 1629:438561303d02
1 fun main () : transaction page =
2 tm <- now;
3 s <- source tm;
4 return <xml><body>
5 <b>Server:</b> {[tm]}<br/>
6 <b>Client:</b> <dyn signal={v <- signal s; return (txt v)}/>
7 <button value="Recalculate" onclick={tm <- now; set s tm}/>
8 </body></xml>