[racket] ordering issue in select-input formlet

From: Eric Tanter (etanter at dcc.uchile.cl)
Date: Tue Mar 29 11:04:46 EDT 2011

Hi,

I'm using the select-input formlet in a form. I pass it a list and a display function, but it gets displayed in a wrong (arbitrary) order.

In my app the list is built by hand: 
(define USERS (list (user "john" "j at foo.com")
                    (user "joe"  "j at bar.com") ...))

and the formlet displays the list as:

... (td  ,{(select-input USERS #:display user-name) ...

any idea why the names do not show up in the expected order?

Thanks,

-- Éric




Posted on the users mailing list.