meteficha/aws — comment on commit c77c909b5b7393a0e3e63704a5b6ab1f99c75ba3
File: Aws/S3/Query.hs line 68
By aristidb:

No, I mean, let's assume we have three elements.

[(1,"a"),(2,"b"),(2,"c")]

Now, merge sees that k1/=k2, and goes into the else of that if. Then, it returns (1,"a"):(2,"b"):merge [(2,"c")].

No?

(I introduced this bug, but while we're at it, we should completely fix the merge function.)