[darcs-users] urgent: will you be claiming back hackathon travel costs?

Eric Kow kowey at darcs.net
Thu Mar 19 22:14:31 UTC 2009


On Thu, Mar 19, 2009 at 21:49:06 +0000, Ganesh Sittampalam wrote:
> I think this is indeed buggy, or at least underspecified, btw: suppose 
> one person needs $990 and the other needs $10, then if the list is 
> [10,990] they'll both get what they need, but if it's [990, 10] then the 
> first person will only get $500. However if we require the input list to 
> be sorted first, I think it's ok.

Oh yeah, the attached version sorts the list and passes it on to a
helper function.

Are there any other bugs to watch out for?

-- 
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20090319/853f33b0/attachment.pgp>


More information about the darcs-users mailing list