view tests/sidecheckGood.ur @ 2039:3d10ae22abd6

Default 'jsFunc' for less-safe FFI
author Adam Chlipala <adam@chlipala.net>
date Wed, 16 Jul 2014 04:06:11 -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>