
28 Sep
2004
28 Sep
'04
7:41 a.m.
On 28 September 2004 05:43, Ben Rudiak-Gould wrote:
Prelude> hash <- Data.HashTable.fromList id [(1,'a'),(1,'b')] Prelude> Data.HashTable.lookup hash 1 >>= print Just 'b'
This is clearly wrong, and makes me think that Data.HashTable's
This looks ok to me. If (1,'b') is put in last, lookup should yield this result. However, toList should not produce a list containing identical keys. Christian