annotate tests/namejs.ur @ 1929:f792a6544093

Add show instance for 'id' type
author Sergey Mironov <grrwlf@gmail.com>
date Mon, 07 Oct 2013 14:08:10 +0400
parents 38297294cf98
children
rev   line source
adam@1800 1 fun main (n : int) (s : string) : transaction page = return <xml><body>
adam@1800 2 <button onclick={fn _ => alert ("n = " ^ show n ^ "; s = " ^ s)}/>
adam@1800 3 </body></xml>