view tests/namejs.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 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>