Mercurial > urweb
view tests/jsparse.ur @ 1444:0fc7b676b88b
Escape strings as needed in some error messages within urweb.c
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Sun, 27 Mar 2011 15:51:37 -0400 |
parents | c270fb847dc2 |
children |
line wrap: on
line source
fun main () = s <- source "13"; return <xml><body> <ctextbox source={s}/> <dyn signal={v <- signal s; return (case read v : option int of None => <xml>None</xml> | Some n => <xml>Some {[n]}</xml>)}/> </body></xml>