view tests/reactive2.ur @ 1500:483cc0602565

Finish tutorial section about common ML/Haskell features
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Jul 2011 19:21:09 -0400
parents 3d56940120b1
children
line wrap: on
line source
fun main () : transaction page =
  x <- source <xml>TEST</xml>;
  set x <xml>HI</xml>;
  return <xml><body>
    <dyn signal={signal x}/>
  </body></xml>