Mercurial > urweb
view tests/selfRpc.ur @ 1904:686fa4e7f397
xml/parse: Accept entity files on the command line
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
---
Makefile.am | 2 +-
xml/parse.sml | 4 +---
2 files changed, 2 insertions(+), 4 deletions(-)
author | Anders Kaseorg <andersk@mit.edu> |
---|---|
date | Fri, 22 Nov 2013 09:36:14 -0500 |
parents | 385a1b799a74 |
children |
line wrap: on
line source
fun test () = k <- source <xml/>; return <xml><button onclick={r <- rpc (test ()); set k r}/></xml> fun main () : transaction page = h <- test (); return <xml><body>{h}</body></xml>