annotate tests/bodyClick.ur @ 2184:1ecef02f67c5

More Elaborate work to avoid instantiating unification variables with out-of-scope regular variables
author Adam Chlipala <adam@chlipala.net>
date Sat, 24 Oct 2015 17:23:07 -0400
parents d857da05f042
children
rev   line source
adam@2156 1 fun main () : transaction page = return <xml>
adam@2156 2 <body onclick={fn _ => alert "You clicked the body."}
adam@2156 3 onkeyup={fn _ => alert "Key"}>
adam@2156 4 <p>Text</p>
adam@2156 5 </body>
adam@2156 6 </xml>