Mercurial > urweb
view tests/namejs.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 | 38297294cf98 |
children |
line wrap: on
line source
fun main (n : int) (s : string) : transaction page = return <xml><body> <button onclick={fn _ => alert ("n = " ^ show n ^ "; s = " ^ s)}/> </body></xml>