[Haskell] Re: Haskell users survey--please respond!
John Hughes
rjmh at cs.chalmers.se
Wed Nov 9 05:18:11 EST 2005
Tomasz Zielonka wrote:
>On Wed, Nov 09, 2005 at 04:55:46AM -0500, Cale Gibbard wrote:
>
>
>>It seems that if you keep trying to fill out the form, you will
>>eventually succeed. If someone finishes filling out the form between
>>when you start filling it out and when you finish, then the
>>checkboxes/dropdowns will have been updated, and you'll have to reload
>>the page and try again. Certainly a bug.
>>
>>
>
>Yes, John used a nice trick to automatically extend the option lists,
>but it breaks the assumptions of WASH. He should ensure that each user
>uses the same version of the script.
>
>
>
It should be enough to read the list of options using safe IO, so that
it is the same when the
form is processed as when it was generated (which I've now done). That
leaves open the risk that two simultaneous users may add the SAME new
tool or country to the list, so it gets added twice, but that I can fix
up when I analyse the results.
John
More information about the Haskell
mailing list