summaryrefslogtreecommitdiff
path: root/tests/ffieff.ur
blob: a63fa4bc3ac31ba50fa8250dc30319599740243c (plain)
1
2
3
4
5
6
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>