view tests/ffieff.ur @ 2211:ef766ef6e242

Merge.
author Ziv Scully <ziv@mit.edu>
date Sat, 13 Sep 2014 19:16:07 -0400
parents df6a040f5389
children
line wrap: on
line source
open Ffi_eff

fun main () : transaction page = return <xml><body>
  <button value="shout" onclick={fn _ => shout "Hi!"; shout "Bye!"}/>
  <button value="sneakyShout" onclick={fn _ => let val x = sneakyShout "Whoa" in return () end}/>
</body></xml>