view tests/appjs.ur @ 1646:ca3b73a7b4d0

Get a few more source files up-to-date with change to [tag] type
author Adam Chlipala <adam@chlipala.net>
date Wed, 28 Dec 2011 18:05:27 -0500
parents dc4c61363d0a
children
line wrap: on
line source
fun id n = if n = 0 then 0 else 1 + id (n - 1)

fun main () : transaction page = return <xml><body>
  <button onclick={alert (show (id 3))}/>
</body></xml>