open Meta val title = string "Title" val abstract = textarea "Abstract" val commentsForAuthors = textarea "Comments for Authors" fun charIn s = if String.length s = 0 then error Impossible: Empty option value else String.sub s 0 con dropdown = (char, string) fun dropdown name opts = {Nam = name, Show = txt, Widget = fn [nm :: Name] => {List.mapX (fn x => ) opts} , WidgetPopulated = fn [nm :: Name] v => {List.mapX (fn x => ) opts} , Parse = charIn, Inject = _}