comparison demo/more/select.ur @ 1023:e46227efcbba

Bidding interface
author Adam Chlipala <adamc@hcoop.net>
date Sun, 01 Nov 2009 10:20:20 -0500
parents
children
comparison
equal deleted inserted replaced
1022:4de35df3d545 1023:e46227efcbba
1 fun selectChar choices current =
2 List.mapX (fn (ch, label) =>
3 <xml><option value={String.str ch} selected={current = Some ch}>{[label]}</option></xml>) choices