Mercurial > urweb
view tests/appjs.ur @ 2104:7755f00a4fc3
Switch to using OpenSSL PRNG for the one remaining rand()
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 12 Jan 2015 12:02:54 -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>