view tests/sidecheckGood.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 154cfe2eb366
children
line wrap: on
line source
fun main () : transaction page =
    s <- source 0;
    set s 42;
    return <xml><body>
      <dyn signal={n <- signal s; return (txt n)}/>
    </body></xml>