--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/demo/more/select.ur Sun Nov 01 10:20:20 2009 -0500 @@ -0,0 +1,3 @@ +fun selectChar choices current = + List.mapX (fn (ch, label) => + <xml><option value={String.str ch} selected={current = Some ch}>{[label]}</option></xml>) choices