Mercurial > urweb
view tests/jsparse.ur @ 936:6966d98c80b5
Include 'key' type in Grid
author | Adam Chlipala <adamc@hcoop.net> |
---|---|
date | Tue, 15 Sep 2009 09:45:46 -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>