view tests/both2.ur @ 1845:c1e3805e604e

Make Scriptcheck catch more script/message-passing uses, and move the phase earlier in compilation
author Adam Chlipala <adam@chlipala.net>
date Fri, 15 Mar 2013 16:09:55 -0400
parents a5eb8f87bc17
children
line wrap: on
line source
fun main () : transaction page =
    let
        fun submit r = return <xml/>
    in
        return <xml>
          <body>
            <form>
              <textbox{#Text}/><submit action={submit}/>
            </form>
          </body>
        </xml>
    end