Retraction
Dylan Thurston
dpt at lotus.bostoncoop.net
Sat Jun 29 14:22:30 EDT 2002
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20020629/101f7f86/attachment.bin
More information about the Glasgow-haskell-bugs
mailing list