view tests/sendurl.ur @ 1475:b703b375c3c0

xtable monoize to string.
author Karn Kallio <kkallio@eka>
date Thu, 23 Jun 2011 00:01:52 -0430
parents 82ac88b4e0a7
children
line wrap: on
line source
fun main () =
    let
        fun getIt () = return (bless "http://www.yahoo.com/")
    in
        s <- source <xml/>;
        return <xml><body>
          <dyn signal={signal s}/>

          <button onclick={v <- rpc (getIt ()); set s <xml><a href={v}>Go!</a></xml>}/>
        </body></xml>
    end