On Sat, Jun 29, 2002 at 12:23:27PM -0400, Dylan Thurston wrote:
> After a looking a little more, there seem to be other problems
> (including errors in my proposed solution).  I don't know where the
> code for quotRem is, but it is also buggy.  For instance,
> 
> Prelude> 9 `quotRem` (-5)
> (-1,4)
> 
> (The correct answer is (-1,-4).)  I'm frankly astonished: has noone
> used these functions with negative arguments before?

I do apologise: what I wrote here is nonsense.  (-1,4) is the correct
answer to this problem.

--Dylan

Attachment: msg02173/pgp00000.pgp
Description: PGP signature

Reply via email to