annotate tests/appjs.ur @ 1989:210fb3dfc483

Some more nested functor bug-fixing, including generating fresh internal names at applications; still need to debug issues with datatype constructors
author Adam Chlipala <adam@chlipala.net>
date Thu, 20 Feb 2014 10:27:15 -0500
parents dc4c61363d0a
children
rev   line source
adam@1542 1 fun id n = if n = 0 then 0 else 1 + id (n - 1)
adam@1542 2
adam@1542 3 fun main () : transaction page = return <xml><body>
adam@1542 4 <button onclick={alert (show (id 3))}/>
adam@1542 5 </body></xml>