view demo/alert.ur @ 1654:570636457047

Add arguments to [type] declarations and signature items
author Adam Chlipala <adam@chlipala.net>
date Mon, 02 Jan 2012 15:38:52 -0500
parents 8e17e6b615bd
children e6bc6bbd7a32
line wrap: on
line source
fun main () = return <xml><body>
  <button value="Click me!" onclick={alert "You clicked me!"}/>
</body></xml>