view tests/reactive2.ur @ 2203:39faa4a037f4

ML half of initial prototype. (Doesn't compile because there's no C yet.)
author Ziv Scully <ziv@mit.edu>
date Tue, 25 Mar 2014 02:04:06 -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>