view tests/rpc.ur @ 2053:229a299d739d

Add tests/dbupload2.* files tests/dbupload2.sh is a shell script which run the test scenario On my machine the executable segfaults after curl request
author Sergey Mironov <grrwlf@gmail.com>
date Fri, 15 Aug 2014 07:11:31 +0000
parents 56aaa1941dad
children
line wrap: on
line source
sequence s

fun main () : transaction page =
    let
        fun getNext () = nextval s
    in
        s <- source 0;
        return <xml><body>
          <button value="Get It On!"
                  onclick={n <- getNext ();
                           set s n}/><br/>
          <br/>
          Current: <dyn signal={n <- signal s; return <xml>{[n]}</xml>}/>
        </body></xml>
    end